mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Utilities related to the Airy pattern point spread function. More...
Utilities related to the Airy pattern point spread function.
Definition in file airyPattern.hpp.
#include <gsl/gsl_integration.h>
#include <gsl/gsl_errno.h>
#include "../constants.hpp"
#include "bessel.hpp"
#include "jinc.hpp"
Go to the source code of this file.
Namespaces | |
namespace | mx |
The mxlib c++ namespace. | |
Functions | |
template<typename realT > | |
realT | mx::math::func::airyPattern (realT x) |
The classical Airy pattern. | |
template<typename realT > | |
realT | mx::math::func::airyPattern (realT x, realT eps) |
The centrally obscured Airy pattern. | |
template<typename realT > | |
realT | mx::math::func::airyPattern (realT x, realT y, realT A0, realT A, realT x0, realT y0, realT ps, realT eps) |
The general centrally obscured Airy pattern, with arbitrary center and platescale. | |
template<typename realT > | |
void | mx::math::func::airyPattern2D (realT *arr, size_t nx, size_t ny, const realT A0, const realT A, const realT x0, const realT y0, realT ps) |
Fill in an array with the 2D arbitrarily-centered classical Airy pattern. | |
template<typename realT > | |
realT | mx::math::func::seeingHalo (realT x, realT fwhm) |
Seeing Halo Profile. | |
template<typename realT > | |
realT | mx::math::func::airyPatternEnclosed (realT x) |
Calculate the fraction of enclosed power at a given radius for the unobscured Airy Pattern. | |
template<typename realT > | |
realT | mx::math::func::airyPatternEnclosed (realT x, realT eps) |
Calculate the fraction of enclosed power at a given radius for the centrally obscured Airy Pattern. | |