HDF5 output for PAL¶
Module for exporting data to HDF5 format.
-
class
place.plugins.h5_output.h5_output.
H5Output
(config)[source]¶ Export class for exporting NumPy data into an H5 format.
-
export
(path)[source]¶ Export the trace data to an H5 file.
If the trace data contains two dimension, the first is assumed to be the channel, and the second is assumed to be the trace data.
If the trace data contains three dimensions, the first is assumed to be the channel, the second is assumed to be the record number, with the third containing the trace data.
If the trace data contains additional dimensions, this module will throw an error.
When more than one channel is detected, each will be written to a different .h5 file.
Parameters: path (str) – the path with the experimental data, config data, etc. Raises: ValueError – if trace data has more than three dimensions
-