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

Tools for fitting Gaussians to data. More...

Tools for fitting Gaussians to data.

Author
Jared R. Males

Definition in file fitGaussian.hpp.

Go to the source code of this file.

Classes

struct  mx::math::fit::gaussian1D_fitter< _realT >
 levmarInterface fitter structure for the symmetric Gaussian. More...
 
class  mx::math::fit::fitGaussian1D< _realT >
 Class to manage fitting a 1D Gaussian to data via the levmarInterface. More...
 
class  mx::math::fit::fitGaussian2D< fitterT >
 Class to manage fitting a 2D Gaussian to data via the levmarInterface. More...
 
struct  mx::math::fit::gaussian2D_sym_fitter< _realT >
 Alias for the fitGaussian1D type fitting the gaussian. More...
 
struct  mx::math::fit::gaussian2D_gen_fitter< _realT >
 levmarInterface fitter structure for the general elliptical Gaussian. More...
 

Namespaces

 mx
 The mxlib c++ namespace.
 

Typedefs

template<typename realT >
using mx::math::fit::fitGaussian2Dsym = fitGaussian2D< mx::math::fit::gaussian2D_sym_fitter< realT > >
 Alias for the fitGaussian2D type fitting the symmetric gaussian. More...
 
template<typename realT >
using mx::math::fit::fitGaussian2Dgen = fitGaussian2D< mx::math::fit::gaussian2D_gen_fitter< realT > >
 Alias for the fitGaussian2D type fitting the general elliptical gaussian. More...
 

Functions

template<typename realT >
int mx::math::fit::guessGauss2D_ang (realT &Ag, realT &xg, realT &yg, realT &xFWHM, realT &yFWHM, realT &angG, mx::improc::eigenImage< realT > &im, realT maxWidth, realT widthWidth, realT nAngs, realT xg0, realT yg0)
 Form an estimate of the parameters of an elliptical Gaussian from a 2D image. More...