timeRange#
- pyCGM2.Utils.utils.timeRange(startTime: float, sampleRate: float, numberOfFrames: int) ndarray#
Calculate the time range for a given set of values.
- Parameters:
startTime (float) – The start time.
sampleRate (float) – The sample rate.
values (np.ndarray) – The values for which to calculate the time range.
- Returns:
np.ndarray – The time range.