spvctrl.data.finalize#

Finalize transient measurements: write plots and csv files, archive and copy the data to the final data directories.

Functions

archive_scan

Archive a scan series directory as a zip file, if it contains enough per-pulse partial files.

archive_transient

Archive the data directory as a zip file, if it contains enough per-pulse partial files.

copy_scan

Copy the final files of a scan series to the target directories.

copy_transient

Copy the final files of a transient to the target directories, hierarchically.

finalize_transient

Finalize a transient measurement: save the hdf5 file and write csv and plots.

save_measurement_to_tspv

Assemble the .tspv data file from a finished measurement directory.