skecg.cs.codec_b.EncodedFrame
7.2.1. skecg.cs.codec_b.EncodedFrame#
- class skecg.cs.codec_b.EncodedFrame(n_measurements: int, n_windows: int, max_val: int, min_val: int, mean_val: int, std_val: int, q: int, rng_mult: int, n_words: int, n_header_bits: int, n_payload_bits: int, n_bits: int, q_nmse: float, c_nmse: float, qc_nmse: float, qc_snr: float)[source]#
Information about each encoded frame
- __init__()#
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
c_nmseNMSE for the clipping step
max_valMaximum value of measurements
mean_valMean value of measurements (integer)
min_valMinimum value of measurements
n_bitsTotal number of bits in the encoded frame
n_header_bitsNumber of bits in the frame header
n_measurementsNumber of measurements
n_payload_bitsNumber of bits in the frame payload
n_windowsNumber of windows
n_wordsNumber of words in the compressed entropy coded frame payload
overheadFractional overhead of the header bits
qQuantization parameter used for encoding the frame data
q_nmseNMSE for the quantization step
qc_nmseNMSE for combined quantization and clipping
qc_snrSNR for combined quantization and clipping
rng_multRange multiplier used for restricting the set of values
std_valStandard deviation of measurements (integer)