capytaine.io.bemio module

capytaine.io.bemio.dataframe_from_bemio(bemio_obj, wavenumber, wavelength)[source]

Transform a bemio.data_structures.bem.HydrodynamicData into a pandas.DataFrame.

Parameters:
  • bemio_obj (Bemio data_stuctures.bem.HydrodynamicData class) – Loaded NEMOH, AQWA, or WAMIT data created using bemio.io.nemoh.read, bemio.io.aqwa.read, or bemio.io.wamit.read functions, respectively.

  • wavenumber (bool) – If True, the coordinate ‘wavenumber’ will be added to the output dataset.

  • wavelength (bool) – If True, the coordinate ‘wavelength’ will be added to the output dataset.