cupyx.scipy.signal.correlation_lags#
- cupyx.scipy.signal.correlation_lags(in1_len, in2_len, mode='full')[source]#
Calculates the lag / displacement indices array for 1D cross-correlation.
- Parameters:
- Returns:
lags – Returns an array containing cross-correlation lag/displacement indices. Indices can be indexed with the np.argmax of the correlation to return the lag/displacement.
- Return type:
array