delta.utilities.division_poles¶
- delta.utilities.division_poles(poles_cell1: Tuple[ndarray[Any, dtype[int16]], ndarray[Any, dtype[int16]]], poles_cell2: Tuple[ndarray[Any, dtype[int16]], ndarray[Any, dtype[int16]]], prev_old: ndarray[Any, dtype[int16]], prev_new: ndarray[Any, dtype[int16]]) Tuple[Tuple[ndarray[Any, dtype[int16]], ndarray[Any, dtype[int16]]], Tuple[ndarray[Any, dtype[int16]], ndarray[Any, dtype[int16]]], bool]¶
Identify which poles belong to the mother and which to the daughter
- Parameters
- poles_cell1Tuple[Pole, Pole]
Poles of one of the 2 cells after division.
- poles_cell2Tuple[Pole, Pole]
Poles of the other of the 2 cells after division.
- prev_oldPole
Previous old pole of the cell.
- prev_newPole
Previous new pole of the cell.
- Returns
- Tuple[Tuple[Pole, Pole], Tuple[Pole, Pole], bool]
Mother’s old pole and new pole, daughter’s old pole and new pole, and flag that is True if cell1 is the mother, False if cell2 is the mother