skecg.cs.codec_b.EncoderParams
7.1.1. skecg.cs.codec_b.EncoderParams#
- class skecg.cs.codec_b.EncoderParams(key: jax._src.basearray.Array, n: int, m: int, d: int, w: int, adaptive: bool, q: int, q_nmse_limit: decimal.Decimal, c_nmse_limit: decimal.Decimal)[source]#
The set of parameters to configure the ECG encoder
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
adaptive
A flag to indicate if the quantization is adaptive
c_nmse_limit
NMSE limit for the clipping step
d
Number of ones per column in sparse binary sensing matrix
frame_length
Length of each frame
key
PRNG Key for generating sensing matrix
m
number of measurements per window
n
number of samples per window
q
quantization parameter if the quantization is fixed
q_nmse_limit
NMSE limit for the quantization step
w
number of windows in each frame of the signal