Bases: astropy.convolution.Kernel1D
1D 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
mode : str, optional
factor : number, optional
|
---|
See also
Examples
Kernel response:
import matplotlib.pyplot as plt from astropy.convolution import Gaussian1DKernel gauss_1D_kernel = Gaussian1DKernel(10) plt.plot(gauss_1D_kernel, drawstyle='steps') plt.xlabel('x [pixels]') plt.ylabel('value') plt.show()(Source code, png, hires.png, pdf)