identify_phases_indices¶
-
identify_phases_indices
(times, phases_integration_times)[source]¶ Identifies the indices of the cycle phases [-].
If phases_distances is not given the result is the cumulative CO2 of cycle phases [CO2g] otherwise it is CO2 emission of cycle phases [CO2g/km].
Parameters: - times (numpy.array) – Time vector [s].
- phases_integration_times (tuple) – Cycle phases integration times [s].
Returns: Indices of the cycle phases [-].
Return type: numpy.array