fit()

fit()#

abstract BasisTemplate.fit(states)[source]#

Construct the basis.

Parameters:
states(n, k) ndarray

Matrix of \(k\) \(n\)-dimensional snapshots.

Returns:
self