convolve_models_fft#

astropy.convolution.convolve_models_fft(model, kernel, bounding_box, resolution, cache=True, **kwargs)[source]#

Convolve two models using convolve_fft.

Parameters:
modelModel

Functional model

kernelModel

Convolution kernel

bounding_boxtuple

The bounding box which encompasses enough of the support of both the model and kernel so that an accurate convolution can be computed.

resolutionfloat

The resolution that one wishes to approximate the convolution integral at.

cacheoptional, bool

Default value True. Allow for the storage of the convolution computation for later reuse.

**kwargsdict

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

Returns:
defaultCompoundModel

Convolved model