from_total_ms¶
- sonipy.from_total_ms(x, time_total)¶
Calculates a time scale in units of x value / time (ms), by matching the total length of x array to the input time_total.
- Parameters
- xarr
Array of x positions that will correspond to blip times.
- time_totalfloat
Total time difference between first and last blip (in ms).
- Returns
- float
Returns a time scale calculated from the total dt.