observable
Observable
Bases: ABC
Base class for observations.
observe()
abstractmethod
Observe and return the observation.
Source code in src/flowcean/core/environment/observable.py
14 15 16 |
|
TransformedObservable()
Bases: Observable[DataFrame]
Base class for observations that carry a transform.
Attributes:
Name | Type | Description |
---|---|---|
transform |
Transform
|
Transform |
Initialize the observable.
Source code in src/flowcean/core/environment/observable.py
28 29 30 31 |
|
with_transform(transform)
Append a transform to the observation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
transform
|
Transform
|
Transform to append. |
required |
Returns:
Type | Description |
---|---|
Self
|
This observable with the appended transform. |
Source code in src/flowcean/core/environment/observable.py
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
|
__or__(transform)
Shortcut for with_transform
.
Source code in src/flowcean/core/environment/observable.py
62 63 64 65 66 67 |
|