mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
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.

#include "array2FitGaussian1D.hpp"
#include "array2FitGaussian2D.hpp"
#include "../../mxError.hpp"
#include "levmarInterface.hpp"
#include "../func/gaussian.hpp"
#include "../constants.hpp"
#include "../../improc/eigenImage.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

namespace  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.
 
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.
 

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.