Bases: astropy.convolution.Kernel2D
2D Gaussian filter kernel.
The Gaussian filter is a filter with great smoothing properties. It is isotropic and does not produce artifacts.
Parameters: | stddev : number
x_size : odd int, optional
y_size : odd int, optional
mode : str, optional
factor : number, optional
|
---|
See also
Box2DKernel, Tophat2DKernel, MexicanHat2DKernel, Ring2DKernel, TrapezoidDisk2DKernel, AiryDisk2DKernel
Examples
Kernel response:
import matplotlib.pyplot as plt from astropy.convolution import Gaussian2DKernel gaussian_2D_kernel = Gaussian2DKernel(10) plt.imshow(gaussian_2D_kernel, interpolation='none', origin='lower') plt.xlabel('x [pixels]') plt.ylabel('y [pixels]') plt.colorbar() plt.show()(Source code, png, hires.png, pdf)