TimeSelector.days

time.TimeSelector.days(from_day, to_day, step=None)

Subset the time frame by providing a start and end simulation day (inclusive).

Parameters

from_day: int

the starting simulation day of the range, as an index

to_day: int

the last included simulation day of the range, as an index

step: int = None

if given, narrow the selection to a specific tau step (by index) within the date range; by default include all steps

Returns

TimeSelection

The selection strategy object.