spvctrl.scripts.test_data#

Synthetic demo datasets: an ADC dataset generator mimicking a real measurement, plus a convenience function that stores a complete multi-variant demo series to disk.

The generated data is a pure exponential decay per channel (A*exp(-t/tau) + C), quantized to int16 ADC counts like the Gage CompuScope oscilloscope would deliver it, and stored through the regular finalize chain (save_measurement_to_tspv()), so the resulting series is indistinguishable from a real measurement — including per-pulse parts, the raw and log-subsampled versions, csv files, plots and metadata.

Functions

make_adc_dataset

Generate a synthetic ADC pulse dataset, like an oscilloscope measurement would return it.

write_demo_dataset

Generate a multi-variant demo series and finalize it to path, like a full measurement.