toto.core.wavestats¶
- toto.core.wavestats.split(S, freq, fmin=None, fmax=None)[source]¶
Split spectra over freq and/or dir dims. Args:
fmin (float): lowest frequency to split spectra, by default the lowest.
fmax (float): highest frequency to split spectra, by default the highest.
dmin (float): lowest direction to split spectra over, by default min(dir).
dmax (float): highest direction to split spectra over, by default max(dir).
- Note:
spectra are interpolated at fmin / fmax if they are not present in self.freq