spvctrl.data.finalize.finalize_transient#
- finalize_transient(data: TspvData, save: bool = True, csv: bool = True, plot: bool = True, **plot_kw) list[Path][source]#
Finalize a transient measurement: save the hdf5 file and write csv and plots.
Files are written into the data directory of
data.- Parameters:
data – TspvData to finalize. Must have a data path set.
save – Whether to save the data as .tspv hdf5 file
csv – Whether to save the downsampled data as csv file
plot – Whether to save plots as pdf files
plot_kw – Passed on to
spvctrl.data.plot.plot_data()
- Returns:
List of written file paths