NumPy result converter
Plugin name: numpy
Implementation: openstb.simulator.result_converter.numpy.NumpyConverter
The NumPy result converter saves simulation results as NumPy NPZ files. These are zipped archives of one or more arrays which may be subsequently loaded with the numpy.load function.
Supported result formats
The NumPy converter supports converting results in the Zarr baseband pressure format.
Saved variables
The following variables are written into the NPZ file:
baseband_frequency: the frequency used to baseband the dataping_start_time: seconds since the start of the trajectory that the pings were sentpressure: the simulated pressure at each receiverpressure_dimensions: string array giving the order of dimensions inpressure.sample_time: seconds since the start of its ping that each sample was captured
Parameters
The only required parameter for the converter is the filename to save the results as:
[result_converter]
plugin = "numpy"
filename = "sim_results.npz"
By default, the file is not compressed. To enable compression, use the compress
parameter:
[result_converter]
plugin = "numpy"
filename = "sim_results.npz"
compress = true