aspcore.fouriertransform.correlate_euclidian_ft
- aspcore.fouriertransform.correlate_euclidian_ft(freq_filter, time_signal)
Correlates every channel of input with every channel of the filter
- Parameters:
freq_filter (ndarray) – The filter. The first axis should correspond to frequency. Before it was transformed, it should have been padded with zeros equal to the length of the impulse response before the impulse response.
time_signal (ndarray) – The signal. The last axis should correspond to time. Should be exactly twice as long as the impulse response of the filter.
- Returns:
filtered_signal – The linear correlation between the filter and the signal
- Return type:
ndarray of shape (filter.shape[:-1], signal.shape[:-1], num_samples)