transform()

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

Returns:
states: (n, …) ndarray

State snapshots, or a copy of them if inplace=False.

Raises:
ValueError

If the states do not align with the state_dimension.