wavespectra.read_funwave#
- wavespectra.read_funwave(filename_or_obj)[source]#
Read Spectra in Funwave format.
- Args:
filename_or_obj (str, filelike): Funwave file to read.
- Returns:
dset (SpecDataset): spectra dataset object read from funwave file.
- Note:
Format description: https://fengyanshi.github.io/build/html/wavemaker_para.html.
Both 2D E(f,d) and 1d E(f) spectra are supported.
Directions converted from Cartesian (0E, CCW, to) to wavespectra (0N, CW, from).
Phases are ignored if present.