inverse_transform()

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), return states_transformed. If False, return a create a copy of states_transformed.

locsslice or (p,) ndarray of integers or None

If given, assume states_transformed contains the transformed snapshots at only the p indices described by locs.

Returns:
states_transformed: (n, …) or (p, …) ndarray

Transformed states, or a copy of them if inplace=False.

Raises:
ValueError

If the states_transformed do not align with the locs (when provided) or the state_dimension (when locs is not provided).