aspcore.fouriertransform.correlate_cartesian_tt
- aspcore.fouriertransform.correlate_cartesian_tt(time_filter, time_signal)
Computes the linear correlation between two time-domain signals
Computes the correlation for all combinations of channels, as in the cartesian product of the channels.
- Parameters:
time_filter (ndarray) – The filter. The last axis should correspond to time
time_signal (ndarray) – The signal. The last axis should correspond to time Should be exactly twice as long as the filter. It should be twice as long as the impulse response of the filter.
- Returns:
correlation – The linear correlation between the filter and the signal
- Return type:
ndarray of shape (filter.shape[:-1], signal.shape[:-1], num_samples)