aspcore.adaptivefilter.FastBlockLMS

class aspcore.adaptivefilter.FastBlockLMS(block_size, num_in, num_out, step_size, regularization=0.001, power_est_forget_factor=0.99, normalization='scalar')

Bases: AdaptiveFilterFreq

Identical to BlockLMS when scalar normalization is used

__init__(block_size, num_in, num_out, step_size, regularization=0.001, power_est_forget_factor=0.99, normalization='scalar')

Methods

__init__(block_size, num_in, num_out, step_size)

channel_independent_normalization(ref, freqRef)

freq_independent_normalization(ref, freqRef)

process(sig_to_process)

process_nosum(sig_to_process)

scalar_normalization(ref, freqRef)

update(ref, error)

ref is two blocks, the latter of which corresponds to the single error block

update(ref, error)

ref is two blocks, the latter of which corresponds to the single error block