skecg.cs.codec_b.CompressionStats
7.1.6. skecg.cs.codec_b.CompressionStats#
- class skecg.cs.codec_b.CompressionStats(u_bits: int, c_bits: int, bpm: float, bps: float, cr: float, pss: float, snr: float, prd: float, nmse: float, qs: float, rtime: float, qc_snr: float, qc_prd: float, qc_nmse: float)[source]#
Compression statistics
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
bpm
bits per measurement
bps
bits per sample
c_bits
compressed bits count
cr
compression ratio
nmse
normalized mean square difference
prd
percent root mean square difference
pss
percentage space savings
qc_nmse
NMSE for quantization+clipping
qc_prd
percent root mean square difference for quantization+clipping
qc_snr
signal to noise ratio (dB) for quantization+clipping
qs
Quality score
rtime
reconstruction time
snr
signal to noise ratio (dB)
u_bits
Uncompressed bits count