darsia.TimeWindow#

class TimeWindow(start: float | str, end: float | str, step: float | str | None = None)[source]#

Bases: object

Methods

Attributes

end

End time of the window, relative to experiment start, in HH:MM:SS format.

end_hours

End time in hours.

start

Start time of the window, relative to experiment start, in HH:MM:SS format.

start_hours

Start time in hours.

step

Step size, preserved for round-tripping but not used for window time generation.

step_hours

Step size in hours, if defined.

end = '00:00:00'#

End time of the window, relative to experiment start, in HH:MM:SS format.

property end_hours#

End time in hours.

start = '00:00:00'#

Start time of the window, relative to experiment start, in HH:MM:SS format.

property start_hours#

Start time in hours.

step = None#

Step size, preserved for round-tripping but not used for window time generation.

property step_hours#

Step size in hours, if defined.