calculate_theoretical_phases_distances

calculate_theoretical_phases_distances(times, theoretical_velocities, phases_indices)[source]

Calculates theoretical cycle phases distances [km].

Parameters:
  • times (numpy.array) – Time vector.
  • theoretical_velocities (numpy.array) – Theoretical velocity vector [km/h].
  • phases_indices (numpy.array) – Indices of the cycle phases [-].
Returns:

Theoretical cycle phases distances [km].

Return type:

numpy.array