shnitsel.core.postprocess.hop_indices

hop_indices(astates)

Find in which frames the active state changes

Parameters:

astates (DataArray) – A DataArray of state indicators

Return type:

A boolean DataArray indicating whether a hop took place