numpy_convolve¶
-
sherpa.utils.
numpy_convolve
(a, b)[source]¶ Convolve two 1D arrays together using NumPy’s FFT.
Parameters: - a (ndarray) – The first 1D array to convolve.
- b (ndarray) – The second 1D array to convolve. It does not need to have the same size as a.
Returns: c – The convolved array. It’s length matches the longer of the input arrays.
Return type: ndarray