TimeRangedModel
TimeRangedModel(
description: str = ““,
extra_fields: collections.abc.Mapping[str, str | int | float | bool[str, int, float, bool]] =
time_min: datetime64 = NaT,
time_max: datetime64 = NaT,
)-> None
Base class for inventory objects with time-validity epochs.
Validity intervals are half-open, [time_min, time_max); an unset (NaT) end time means the epoch is ongoing. All times are UTC.
Methods
| Name | Description |
|---|---|
| get_summary_df | Get dataframe of attributes and descriptions for display. |
| is_effective_at | Return True if this epoch is valid at the supplied time (half-open). |
| new | Create a new instance with some attributes updated. |
| overlaps | Return True if two half-open validity intervals overlap. |