synospec.etc.kernel module
Define a series of convolution kernels.
Copyright © 2020, Kyle B. Westfall
- class synospec.etc.kernel.SpectrographGaussianKernel(spatial_fwhm, spectral_fwhm, pixelscale=1.0)[source]
Bases:
astropy.convolution.kernels.Gaussian2DKernelDefine a Gaussian kernel describing the image quality of a spectrograph.
- Parameters
spatial_fwhm (scalar-like) – Spatial FWHM of the Gaussian (point-spread function) in mm. Should be independent of the focal-plane entrance aperture. The spatial dimension is assumed to be along the ordinate of any map convolved with this kernel.
spectral_fwhm (scalar-like) – Spectral FWHM of the Gaussian (line-spread function) in mm. Should be independent of the focal-plane entrance aperture. The spectral dimension is assumed to be along the abscissa of any map convolved with this kernel.
pixelscale (
float, optional) – The pixel scale for the kernel in mm/pixel.
- spatial_fwhm
See class argument.
- Type
float
- spectral_fwhm
See class argument.
- Type
float
- pixelscale
See class argument.
- Type
float