inverse_transform()#
- NullTransformer.inverse_transform(states_transformed, inplace=False, locs=None)[source]#
Do nothing; this transformation does not affect the states.
- Parameters:
- states_transformed(n, …) or (p, …) ndarray
Matrix of n-dimensional transformed snapshots, or a single transformed snapshot.
- inplacebool
If
True(default), returnstates_transformed. IfFalse, return a create a copy ofstates_transformed.- locsslice or (p,) ndarray of integers or None
If given, assume
states_transformedcontains the transformed snapshots at only the p indices described bylocs.
- Returns:
- states_transformed: (n, …) or (p, …) ndarray
Transformed states, or a copy of them if
inplace=False.
- Raises:
- ValueError
If the
states_transformeddo not align with thelocs(when provided) or thestate_dimension(whenlocsis not provided).