calculate_phases_distances

calculate_phases_distances(phases_indices, distances)[source]

Calculates cycle phases distances [km].

Parameters:
  • phases_indices (numpy.array) – Indices of the cycle phases [-].
  • distances (numpy.array) – Cumulative distance vector [m].
Returns:

Cycle phases distances [km].

Return type:

numpy.array