baby.tracker.utils.calc_barycentre

baby.tracker.utils.calc_barycentre(centres, weights=None, **kwargs)
Centres

ndarray containing the (x,y) centres of each cell

Weights

(optional) list of weights to consider for each cell