radiens_core.models.time_range
TimeRange — a concrete time range in stream time.
Classes
TimeRange
Bases: BaseModel
A concrete time range in stream time.
| ATTRIBUTE | DESCRIPTION |
|---|---|
sec |
Start and end |
timestamp |
Start and end sample indices |
fs |
Sampling rate in Hz.
TYPE:
|
dur_sec |
Duration in seconds.
TYPE:
|
walltime_str |
Wall-clock time of the range's start, in UTC. ISO 8601 with Radiens
5.0.0 and later. Year 1 (
TYPE:
|
n |
Number of samples.
TYPE:
|
Attributes
walltime
property
walltime: datetime
walltime_str as a timezone-aware UTC datetime. Year 1 when no wall-clock time was recorded.