wavespectra.SpecArray.oned#
- SpecArray.oned(skipna=True)[source]#
Returns the one-dimensional frequency spectra.
Direction dimension is dropped after integrating.
- Args:
skipna (bool): choose it to skip nans when integrating spectra. This is the default behaviour for sum() in DataArray. Notice it converts masks, where the entire array is nan, into zero.