aliby.track.utils.calc_barycentre

calc_barycentre(centres, weights=None, **kwargs)[source]
Centres

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

Weights

(optional) list of weights to consider for each cell