FSF¶
-
class
mpdaf.MUSE.
FSF
(typ='MOFFAT1')[source]¶ Bases:
object
This class offers Field Spread Function models for MUSE.
Attributes
typ (str) FSF type. Manages LSF model.
Parameters: typ : str
type of LSF
MOFFAT1: Moffat function with a FWHM which varies linearly with the
wavelength. Parameters:
- beta (float) Power index of the Moffat.
- a (float) constant in arcsec which defined the FWHM (fwhm=a+b*lbda)
- b (float) constant which defined the FWHM (fwhm=a+b*lbda)
Methods Summary
get_FSF
(lbda, step, size, **kargs)Return an array containing the FSF for a given wavelength. get_FSF_cube
(cube, size, **kargs)Return a cube of FSFs corresponding to the MUSE data cube given as input: a FSF per MUSE spectral pixels, the step of the FSF pixel is equal to the spatial step of the MUSE data cube. Methods Documentation
-
get_FSF
(lbda, step, size, **kargs)[source]¶ Return an array containing the FSF for a given wavelength.
Parameters: lbda : float
Wavelength value in A.
step : float
Size of the pixel in arcsec.
size : int
Number of pixels.
kargs : dict
kargs can be used to set FSF parameters.
Returns: FSF : array (size, size)
MUSE FSF
fwhm_pix : float
fwhm of the FSF in pixels
fwhm_arcsec : array
fwhm of the FSF in arcsec
-
get_FSF_cube
(cube, size, **kargs)[source]¶ Return a cube of FSFs corresponding to the MUSE data cube given as input: a FSF per MUSE spectral pixels, the step of the FSF pixel is equal to the spatial step of the MUSE data cube.
Parameters: cube :
mpdaf.obj.Cube
MUSE data cube
size : int
FSF size in pixels.
kargs : dict
kargs can be used to set FSF parameters.
Returns: FSF : array (cube.shape[0], size, size)
Cube containing MUSE FSF (one per wavelength)
fwhm_pix : array(cube.shape[0])
fwhm of the FSF in pixels
fwhm_arcsec : array(cube.shape[0])
fwhm of the FSF in arcsec