spvctrl.scripts.convert_legacy.load_raw_data#

load_raw_data(bin_file: str | Path) → ndarray[source]#

Load raw ADC data from a legacy MVP .bin file.

The legacy MVP saved the raw Gage buffer, which is 16-bit integer data.

Parameters:

bin_file – Path of the .bin file

Returns:

Raw ADC values (int16)