fit()# abstract BasisTemplate.fit(states)[source]# Construct the basis. Parameters: states(n, k) ndarrayMatrix of \(k\) \(n\)-dimensional snapshots. Returns: self