Struct sameold::EqualizerBuilder[][src]

pub struct EqualizerBuilder { /* fields omitted */ }
Expand description

Builder for the SAME/EAS decision-feedback equalizer

Implementations

New equalizer builder with sensible defaults

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

Performance hack: Clone doesn’t get inlined for Copy types in debug mode, so make it inline anyway.

Tests if Self the same as the type T Read more

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.