LSF

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

Bases: object

This class offers Line Spread Function models for MUSE.

Attributes

typ (string) (LSF type.)

Manages LSF model.

Parameters:

typ : string

type of LSF

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.

Methods Summary

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

Methods Documentation

get_LSF(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 integer

Number of pixels.

kargs : dict

kargs can be used to set LSF parameters.

Returns:

out : array

array containing the LSF

size(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 : integer

Size in pixels.