index_phases

index_phases(phases)[source]

Return the indices of the phases when is true.

Parameters

phases (numpy.array) – Phases vector.

Returns

Indices of the phases when is true.

Return type

numpy.array