aspcore.fouriertransform.correlate_sum_tt

aspcore.fouriertransform.correlate_sum_tt(time_filter, time_signal)

Computes linear correlation between two time-domain signals

The next to last dimension is summed over. Pads the filter before the signal, which ensures no artifacts due to circular convolution.

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

Returns:

correlation – The linear correlation between the filter and the signal

Return type:

ndarray