aliby.track.utils.calc_baryangles

calc_baryangles(centres, bary, areas=None, **kwargs)[source]

Calculate angle using centre of cell and barycentre :centre: int (2,) tuple. Centre of cell :bary: float (2,) tuple. Barycentre of image :anchor_cell: int Cell id to use as angle 0.