LSF

class mpdaf.MUSE.LSF(typ='qsim_v1')[source]

Bases: object

This class offers Line Spread Function models for MUSE.

Attributes:
typ : str

LSF type.

Manages LSF model.

qsim_v1 : simple model where the LSF is supposed to be constant over the FoV. It is a convolution of a step function with a Gaussian. The resulting function is then sample by the pixel size. The slit width is assumed to be constant (2.09 pixels). The Gaussian sigma parameter is a polynomial approximation of order 3 with wavelength.

Parameters:
typ : str

type of LSF

Methods Summary

get_LSF(self, lbda, step, size, \*\*kargs) Return an array containing the LSF.
size(self, lbda, step, epsilon, \*\*kargs) Return the LSF size in pixels.

Methods Documentation

get_LSF(self, lbda, step, size, **kargs)[source]

Return an array containing the LSF.

Parameters:
lbda : float

Wavelength value in A.

step : float

Size of the pixel in A.

size : odd int

Number of pixels.

kargs : dict

kargs can be used to set LSF parameters.

Returns:
out : array

array containing the LSF

size(self, lbda, step, epsilon, **kargs)[source]

Return the LSF size in pixels.

Parameters:
lbda : float

Wavelength value in A.

step : float

Size of the pixel in A.

epsilon : float
This factor is used to determine the size of LSF

min(LSF) < max(LSF)*epsilon

Returns:
out : int

Size in pixels.