Required
start_time| Type: | float |
| Description: | The start time in seconds. |
class TimeAxis(builtins.object):
def __init__(
self,
start_time: float,
reference_time: float,
number_of_samples: int,
dt: float,
improper_last_sample: bool = False,
) -> None: ...| Type: | float |
| Description: | The start time in seconds. |
| Type: | float |
| Description: | The reference time in seconds, e.g. what time zero refers to. |
| Type: | int |
| Description: | The number of samples. |
| Type: | float |
| Description: | The sampling interval in seconds. |
| Type: | bool |
| Default value: | False |
| Description: | Whether or not the final sample lies on the regular grid of the time axis, or if it is the product of writing a final time step regardless of subsampling. |
float)-The end time in seconds.float)-The sampling rate in Hz.def from_start_end_dt(
start_time: float,
end_time: float,
dt: float,
reference_time: float,
improper_last_sample: bool = False,
) -> TimeAxis: ...| Type: | float |
| Description: | The start time in seconds. |
| Type: | float |
| Description: | The end time in seconds. |
| Type: | float |
| Description: | The sampling interval in seconds. |
| Type: | float |
| Description: | The reference time. |
| Type: | bool |
| Default value: | False |
| Description: | Whether or not the final sample lies on the regular grid of the time axis, or if it is the product of writing a final time step regardless of subsampling. |
def to_array(self) -> npt.NDArray: ...