pyFDN.hook_module#
- pyFDN.hook_module(value, nfft, *, name, device=None, dtype=None, alias_decay_db=0.0)[source]#
One FLAMO module for a filter hook, from an SOS bank, a module, or several.
The three hooks of
assemble_fdn_core()each take a single module, but what a caller has is often an(n_sections, 6, n_channels)SOS array, and occasionally more than one thing to put in the same position. This resolves all three cases:None– no module.an array – built with
sos_filter_module().a FLAMO module – passed through.
a sequence of the above – composed into a
Seriesin the given order, with leaves named{name}_0,{name}_1, …