dump#

gm3dh5.exporter.dump(data: GM3DResultFileModel, filename: str | Path, exporter: Type[Exporter] | Exporter | str | None = None, *args, **kwargs)#

Dump a result file into a specific exporter format.

Parameters:
  • filename

    File name of the file to be exported. If the exporter is not specified, the exporter is determined by the file name suffix.

    Known suffixes are *.tesr, *.csv

  • exporter – Specify the exporter explicitely, either by file name suffix, the Exporter class or than Exporter instance.

  • **kwargs – Specify exporter options.