fit()

fit()#

ShiftTransformer.fit(states)[source]#

Do nothing; this transformation is not learned from data.

Parameters:
states(n, k) ndarray

Matrix of k n-dimensional snapshots.

Returns:
self
Raises:
ValueError

If the states do not align with the state_dimension.