convolve_models

astropy.convolution.convolve_models(model, kernel, mode='convolve_fft', **kwargs)[source]

Convolve two models using convolve_fft.

Parameters:
modelModel

Functional model

kernelModel

Convolution kernel

modepython:str
Keyword representing which function to use for convolution.
**kwargspython:dict

Keyword arguments to me passed either to convolve or convolve_fft depending on mode.

Returns:
defaultCompoundModel

Convolved model