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
adaptiveA flag to indicate if the quantization is adaptive
c_nmse_limitNMSE limit for the clipping step
dNumber of ones per column in sparse binary sensing matrix
frame_lengthLength of each frame
keyPRNG Key for generating sensing matrix
mnumber of measurements per window
nnumber of samples per window
qquantization parameter if the quantization is fixed
q_nmse_limitNMSE limit for the quantization step
wnumber of windows in each frame of the signal