arange_gpstime
(start_gpstime
:GPSTime
, duration_s
:float
, step_ms
:float
)
Create a list of GPSTimes in sequence.
The purpose of this function is to create a list that represents a
sequence of GPSTimes of the specified duration with the specified step
size.
This function is an analogue of the numpy.arange()
function, but
operates on GPSTimes.
Parameters
start_gpstime : GPSTime
The GPSTime to start the sequence
duration_s : float
The duration of the sequence, in seconds
step_ms : float
The step size, in milliseconds
Returns
List[GPSTime]
The sequence of GPSTimes
Notes
Like numpy.arange
, this does not include the final element. That is, if
the start is at 0 with a duration of 5 and step of 1, the sequence would
return [0, 1, 2, 3, 4]
See Also
numpy.arange()
arange_datetime()
Todo
.. todo:: Determine if this still works if a np.ndarray is returned
instead of a list