spvctrl.data.data#

Transient SPV data container based on the devctrl Data/TimeData framework.

Storage representations (version hierarchy keys):

  • log-sub: the log-downsampled columns (t_s, U_spv_V, optionally U_diode_V — absent in single-channel data) as top-level datasets, stored with gzip compression. The group attribute data-columns lists the column keys.

  • raw: the full-resolution record (including pre-trigger samples) as top-level datasets, the linear time axis recalculated on load from the sample_rate_Hz/n_pre_trigger attributes.

The save/load behavior of each representation is implemented by a _VersionRepresentation subclass registered in TspvData._REPRESENTATIONS. Metadata is stored by the devctrl base class as a yaml dataset named metadata.

Module attributes

TSPV_FILE_EXT

File extension of transient SPV data files

PARTIAL_PREFIX

Prefix of per-pulse partial files (e.g. PART_0001.h5).

Classes

TspvData

Transient surface photovoltage data container.