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

modestr
Keyword representing which function to use for convolution.
kwargsdict

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

Returns
defaultCompoundModel

Convolved model