transform()#
- NullTransformer.transform(states, inplace: bool = False)[source]#
Do nothing; this transformation does not affect the states.
- Parameters:
- states(n, …) ndarray
Matrix of n-dimensional snapshots, or a single snapshot.
- inplacebool
If
True
(default), returnstates
. IfFalse
, return a copy ofstates
.
- Returns:
- states: (n, …) ndarray
State snapshots, or a copy of them if
inplace=False
.
- Raises:
- ValueError
If the
states
do not align with thestate_dimension
.