time_window
TimeWindow(*, features=None, time_start=0.0, time_end=math.inf)
Bases: Transform
Limit time series to a certain time window.
Initializes the TimeWindow transform.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
features
|
Iterable[str] | None
|
The features to apply this transformation to. If |
None
|
time_start
|
float
|
Window start time. Defaults to zero. All data before this time will be removed from the time series when applying the transform. |
0.0
|
time_end
|
float
|
Window end time. Defaults to infinite. All data after this time will be removed from the time series when applying the transform. |
inf
|
Source code in src/flowcean/transforms/time_window.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|