delta.utils.track_poles#

delta.utils.track_poles(features, prev_old, prev_new)[source]#

Track poles of a cell to the previous old and new poles.

Parameters
featuresCellFeatures

Cell features object with possibly switched poles.

prev_oldPole

Previous old pole of the cell.

prev_newPole

Previous new pole of the cell.

Returns
featuresCellFeatures

Cell features object with correct poles.