py_eddy_tracker.generic.build_index¶
-
py_eddy_tracker.generic.build_index(groups)[source]¶ We expected that variable is monotonous, and return index for each step change.
- Parameters
groups (array) – array which contain group to be separated
- Returns
(first_index of each group, last_index of each group, value to shift group)
- Return type
(array, array, int)