mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]

Utilities for specifying pupils. More...

Utilities for specifying pupils.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file pupil.hpp.

Go to the source code of this file.

Namespaces

 mx
 The mxlib c++ namespace.
 

Functions

template<typename realT >
void mx::AO::circularPupil (const std::string &pupilName, realT pupilDiamPixels, realT pupilDiamMeters, realT centralObs=0, realT overscan=0)
 Generate a circular pupil and saves it to disk. More...
 
template<typename realT >
void mx::AO::circularApodizedPupil (const std::string &pupilName, int pupilDiamPixels, realT pupilDiamMeters, realT tukeyAlpha, realT centralObs=0, realT overScan=0)
 Generates a circular apodized pupil and saves it to disk. More...
 

Function Documentation

◆ circularApodizedPupil()

template<typename realT >
void mx::AO::circularApodizedPupil ( const std::string &  pupilName,
int  pupilDiamPixels,
realT  pupilDiamMeters,
realT  tukeyAlpha,
realT  centralObs = 0,
realT  overScan = 0 
)

Generates a circular apodized pupil and saves it to disk.

Apodization is with a Tukey window.

Definition at line 65 of file pupil.hpp.

References mx::AO::circularApodizedPupil().

Referenced by mx::AO::circularApodizedPupil().

◆ circularPupil()

template<typename realT >
void mx::AO::circularPupil ( const std::string &  pupilName,
realT  pupilDiamPixels,
realT  pupilDiamMeters,
realT  centralObs = 0,
realT  overscan = 0 
)

Generate a circular pupil and saves it to disk.

Definition at line 28 of file pupil.hpp.

References mx::fits::fitsHeader::append(), mx::AO::circularPupil(), and mx::fits::fitsFile< dataT >::write().

Referenced by mx::AO::circularPupil().