aspcore.filter.FilterNosum
- class aspcore.filter.FilterNosum(ir=None, ir_len=None, num_in=None, num_out=None)
Bases:
object
Filters a signal with a MIMO filter without summing over the input dimension.
Is essentially equivalent to FilterBroadcast with ir_dims1=1, although this can be more convenient to use in some cases.
Is not JIT compiled, and is therefore generally slower than FilterBroadcast and FilterSum.
- Parameters:
ir (ndarray of shape (num_in, num_out, ir_len)) – The impulse response of the filter
- __init__(ir=None, ir_len=None, num_in=None, num_out=None)
Methods
__init__
([ir, ir_len, num_in, num_out])process
(data_to_filter)Filter the data with the impulse response.
- process(data_to_filter)
Filter the data with the impulse response.
- Parameters:
data_to_filter (ndarray of shape (num_in, num_samples)) – The data to be filtered
- Returns:
filtered – The filtered data
- Return type:
ndarray of shape (num_in, num_out, num_samples)