radiens_core.models.time_range
TimeRange — resolved, concrete time range with all fields populated.
Classes
TimeRange
Bases: BaseModel
A resolved, concrete time range.
All fields are populated after resolution from a TimeRangeSpec against dataset metadata or cache state.
sec : tuple[float, float]
Start and end times in seconds (start, end).
timestamp : tuple[int, int]
Start and end times in samples (start_sample, end_sample).
fs : float
Sampling rate in Hz.
dur_sec : float
Duration in seconds.
walltime_str : str
Wall-clock time string (always UTC from backend).
n : int
Number of samples.