delta.utilities.track_poles¶
- delta.utilities.track_poles(poles: Tuple[ndarray[Any, dtype[int16]], ndarray[Any, dtype[int16]]], prev_old: ndarray[Any, dtype[int16]], prev_new: ndarray[Any, dtype[int16]]) Tuple[ndarray[Any, dtype[int16]], ndarray[Any, dtype[int16]]]¶
Track poles of a cell to the previous old and new poles
- Parameters
- polesTuple[Pole, Pole]
Coordinates for the 2 poles of a single cell
- prev_oldPole
Previous old pole of the cell.
- prev_newPole
Previous new pole of the cell.
- Returns
- old_polePole
Which of the two poles tracked to the previous old pole.
- new_polePole
Which of the two poles tracked to the previous new pole.