function of dascore.utils.time source

    time: float | int | datetime64 | timedelta64 | str | datetime ,
    time_min: datetime64 | None = None,
    time_max: datetime64 | None = None,
)-> datetime64

Applies logic for select time.


Parameter Description
time The input time argument. Can either be: * An absolute time expressed as a datetime64 or datettime object. * A relative time expressed as a float, int, or time delta. Positive relative times reference time_min, negative reference time_max.
time_min The reference start time (used for relative times).
time_max The reference end time (used for relative times).