Library documentation
Examples
Development
vallenae.io.
decode_data_blob
Decodes (compressed) 16-bit ADC values from BLOB to array of voltage values.
data_blob (bytes) – Blob from tradb
bytes
data_format (int) –
int
0: uncompressed
2: FLAC compression
factor_millivolts (float) – Factor from int16 representation to millivolts. Stored in tradb -> tr_params as ‘TR_mV’
float
ndarray
Array of voltage values