aspcore.fouriertransform.correlate_sum_ff
- aspcore.fouriertransform.correlate_sum_ff(freq_filter, freq_signal)
Computes linear correlation between two frequency-domain signals
The last dimension is summed over.
- 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.
freq_signal (ndarray) – The signal. The first axis should correspond to frequency. Before being transformed into the frequency domain, it should have been twice as long as the impulse response of the filter.
- Returns:
correlation – The linear correlation between the filter and the signal
- Return type:
ndarray