Line Spread Functions¶
GalPaK provides two LSFs : Gaussian and MUSE. These are used to extrude the 2D PSF image into 3D, right before its application in Fourier space.
You may use them as the lsf
argument of the Instrument
,
as described here.
Gaussian¶
All instruments use this LSF model by default, with their own configuration :
MUSE¶
This LSF requires the mpdaf module, specifically mpdaf.MUSE.LSF.
As this LSF is optional, you must explicitly tell your instrument to use it when you want to.
- class galpak.MUSELineSpreadFunction(model='qsim_v1')[source]¶
A line spread function that uses MPDAF’s LSF. See http://urania1.univ-lyon1.fr/mpdaf/chrome/site/DocCoreLib/user_manual_PSF.html
Warning
This requires the mpdaf module. Currently, the MPDAF module only works for odd arrays.
- model: string
See
mpdaf.MUSE.LSF
’styp
parameter.
Interface¶
In order to further customize the LSF you want to use, you can create your own LSF class and use it in the instrument, it simply needs to implement the following interface :