convolve_models_fft#
- astropy.convolution.convolve_models_fft(model, kernel, bounding_box, resolution, cache=True, **kwargs)[source]#
Convolve two models using
convolve_fft
.- Parameters:
- model
Model
Functional model
- kernel
Model
Convolution kernel
- bounding_box
tuple
The bounding box which encompasses enough of the support of both the
model
andkernel
so that an accurate convolution can be computed.- resolution
float
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.
- **kwargs
dict
Keyword arguments to be passed either to
convolve
orconvolve_fft
depending onmode
.
- model
- Returns:
- default
CompoundModel
Convolved model
- default