NullTransformer#
- class NullTransformer(name: str = None)[source]#
Identity transformation \(\q\mapsto\q\).
This transformer can be used in conjunction with
TransformerMultiif separate transformations are desired for individual state variables but one of those state variable is to remain unchanged.- Parameters:
- namestr or None
Label for the state variable that this transformer “acts” on.
Properties:- name#
Label for the state variable that this transformer acts on.
- state_dimension#
Dimension \(n\) of the state.
Methods:Set the state dimension.
Do nothing but set the state dimension; this transformation does not affect the states.
Do nothing; this transformation does not affect the states.
Load a previously saved transformer from an HDF5 file.
Save the transformer to an HDF5 file.
Do nothing; this transformation does not affect the states.
Do nothing; this transformation does not affect derivatives.
Verify that
transform()andinverse_transform()are consistent and thattransform_ddts(), if implemented, is consistent withtransform().