Moffat

class dysmalpy.instrument.Moffat(major_fwhm=None, minor_fwhm=None, pa=None, beta=None, padfac=12.0)[source]

Bases: object

Object describing a Moffat PSF

Parameters:
  • major_fwhm (Quantity) – FWHM of the Moffat PSF along the major axis

  • minor_fwhm (Quantity) – FWHM of the Moffat PSF along the minor axis

  • pa (Quantity) – Position angle of major axis of the Moffat PSF, in deg E of N (0 is N, +90 is E).

  • beta (float) – beta parameter of the Moffat PSF

  • padfac (int) – The amount to scale the stddev to determine the size of the kernel

Methods Summary

as_kernel(pixscale[, support_scaling])

Calculate the convolution kernel for the Moffat PSF

Methods Documentation

as_kernel(pixscale, support_scaling=None)[source]

Calculate the convolution kernel for the Moffat PSF

Parameters:
  • pixscale (Quantity) – Pixel scale of image that will be convolved

  • support_scaling (int) – The amount to scale the stddev to determine the size of the kernel

Returns:

kernel – Convolution kernel for the Moffat PSF

Return type:

2D array