Version:

salvus.modules.waveform_db.utils

salvus.modules.waveform_db.utils salvus modules waveform_db utils
Utility functions for Salvus' wavefield databases.

Functions

create_database()

Create a Salvus compatible waveform database from the output of a Salvus simulation.
It will convert everything in the volumetric outputs of the simulation output folder to a Salvus compatible database. The folder must at least contain the meta.json output file as well as volumetric output.
SIGNATURE
def create_database(
    simulation_output_folder: pathlib.Path | str,
    database_filename: pathlib.Path | str,
) -> None: ...
ARGUMENTS
Required
simulation_output_folder
Type:pathlib.Path | str
Description:
The outputs of a Salvus simulation.
Required
database_filename
Type:pathlib.Path | str
Description:
Output filename for the database.
PAGE CONTENTS