LSF

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

Bases: object

This class offers Line Spread Function models for MUSE.

Attributes
typstr

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
typstr

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
lbdafloat

Wavelength value in A.

stepfloat

Size of the pixel in A.

sizeodd int

Number of pixels.

kargsdict

kargs can be used to set LSF parameters.

Returns
outarray

array containing the LSF

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

Return the LSF size in pixels.

Parameters
lbdafloat

Wavelength value in A.

stepfloat

Size of the pixel in A.

epsilonfloat
This factor is used to determine the size of LSF

min(LSF) < max(LSF)*epsilon

Returns
outint

Size in pixels.