transform()#

abstract TransformerTemplate.transform(states, inplace=False)[source]#

Apply the learned transformation.

Parameters
states(n, …) ndarray

Matrix of n-dimensional snapshots, or a single snapshot.

inplacebool

If True, overwrite states during transformation. If False, create a copy of the data to transform.

Returns
states_transformed: (n, …) ndarray

Matrix of n-dimensional transformed snapshots, or a single transformed snapshot.