uwacan.analysis.SpectralProbability.from_dataset#

classmethod SpectralProbability.from_dataset(dataset)#

Instantiate the class from a dataset.

This classmethod is mainly used to choose the correct class to instantiate, depending on the data.