export.py¶
ExportMixin
¶
Mixin class providing data/metadata export tools for by level-set solver.
Attributes¶
T_slices: dict Dictionary of time T slices of evolving surface and its properties.
Methods:
-
export_data–Tool to export time T slice data to HDF5 file.
-
export_metadata–Tool to simulation metadata to JSON file.
export_data
¶
Tool to export time T slice data to HDF5 file.
Parameters¶
dir: str Path to directory to write HDF5 file into. filename: str="T_slices" Name of HDF file.
Source code in erosionfront/levelset/export.py
export_metadata
¶
Tool to simulation metadata to JSON file.
Parameters¶
dir: str Path to directory to write JSON file into. filename: str="metadata" Name of JSON file.