wavespectra.SpecArray.rotate#
- SpecArray.rotate(angle) DataArray[source]#
Rotate spectra.
- Args:
angle (float): Angle in degrees to rotate spectra, positive for clockwise and negative for counter-clockwise rotation.
- Returns:
efth (DataArray): Rotated spectra.
- Note:
Directions are interpolated so that the rotated spectra have the same directional bins as the original spectra.