Library documentation
Examples
Development
vallenae.io.
encode_data_blob
Encodes array of voltage values to BLOB of 16-bit ADC values for memory-efficient storage.
data (ndarray) – Array with voltage values
ndarray
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
bytes
Data blob