Struct sameold::EqualizerBuilder [−][src]
pub struct EqualizerBuilder { /* fields omitted */ }Expand description
Builder for the SAME/EAS decision-feedback equalizer
Implementations
Set filter order
The filter order controls how many feedforward taps and feedback taps the adaptive filter has to work with.
Higher orders may allow a better fit for channels with longer or more complicated impulse responses. Using a model order that is too high risks overfitting, numeric stability issues, and latency as the filter takes longer to evolve.
We recommend keeping this relatively low. After all, the channel must be suitable for speech signals for human listeners.
Each filter must have at least one tap.
NLMS relaxation
Sets the Normalized Least Mean Squares (NLMS) relaxation
parameter. relaxation is the the distance to move each
new impulse response estimate to the zero posteriori error
point: 1.0 goes all the way, while 0.0 doesn’t move at all.
Sometimes called “mu” or “gain.”
This parameter should be set high enough that the algorithm converges during the preamble, before the data is read.
NLMS regularization
Sets the Normalized Least Mean Squares (NLMS) regularization
parameter. regularization is a main-diagonal weighting
constant that helps keep matrices invertible. Sometimes called
“delta.” Set to zero to disable regularization.
We recommend leaving this parameter alone.
Filter order
Returns filter order of the (feedforward, feedback) portions
of the adaptive filter, respectively.
NLMS relaxation
NLMS regularization
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for EqualizerBuilder
impl Send for EqualizerBuilder
impl Sync for EqualizerBuilder
impl Unpin for EqualizerBuilder
impl UnwindSafe for EqualizerBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self is actually part of its subset T (and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self to the equivalent element of its superset.