convolve_models¶
-
astropy.convolution.convolve_models(model, kernel, mode='convolve_fft', **kwargs)[source] [edit on github]¶ Convolve two models using
convolve_fft.Parameters: model :
ModelFunctional model
kernel :
ModelConvolution kernel
mode : str
- Keyword representing which function to use for convolution.
- ‘convolve_fft’ : use
convolve_fftfunction. - ‘convolve’ : use
convolve.
- ‘convolve_fft’ : use
kwargs : dict
Keyword arguments to me passed either to
convolveorconvolve_fftdepending onmode.Returns: default : CompoundModel
Convolved model