enyo.etc.kernel module

Define a series of convolution kernels.


License

Copyright © 2020, Kyle B. Westfall


#.. _pypi https://pypi.org/project/sdss-mangadap/

class enyo.etc.kernel.SpectrographGaussianKernel(spatial_fwhm, spectral_fwhm, pixelscale=1.0)[source]

Bases: astropy.convolution.kernels.Gaussian2DKernel

Define 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
resample(pixelscale)[source]

Resample the kernel to a new pixel scale.