skecg.cs.codec_b.EncodedStream
7.2.2. skecg.cs.codec_b.EncodedStream#
- class skecg.cs.codec_b.EncodedStream(n_samples: int, n_windows: int, n_frames: int, n_measurements: int, n_header_bits: int, n_bits: int, frames: List[skecg.cs.codec_b.EncodedFrame])[source]#
Information about the encoded bitstream
- __init__()#
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
bpmBits per measurement
bpsBits per sample
c_nmsesList of NMSE for clipping step across all frames
compressed_bitsTotal compressed bits in the encoded bitstream
crCompression ratio
framesList of encoded frames
mean_valsList of measurement mean values across all frames
n_bitsTotal number of bits in the bitstream
n_framesNumber of frames in the bitstream
n_header_bitsNumber of bits in the stream header
n_measurementsNumber of measurements in the bitstream
n_samplesNumber of samples in the bitstream
n_windowsNumber of windows in the bitstream
overhead_bitsList of overhead bits across all frames
overheadsList of fractional overheads of frame headers across all frames
pssPercentage space savings
q_nmsesList of NMSE for quantization step across all frames
q_valsList of quantization parameters across all frames
qc_nmsesList of NMSE for quantization+clipping step across all frames
qc_snrsList of SNR values for quantization+clipping step across all frames
rng_multsList of range multipliers across all frames
std_valsList of measurement standard deviation values across all frames
total_overheadTotal fractional overhead of header bits across all frames
uncompressed_bitsTotal uncompressed bits in the original ECG signal