mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
mx::math::fit::array2FitMoffat< realT > Struct Template Reference

template<typename realT>
struct mx::math::fit::array2FitMoffat< realT >

Wrapper for a native array to pass to levmarInterface, with Moffat details.

Definition at line 608 of file fitMoffat.hpp.

#include <math/fit/fitMoffat.hpp>

Public Member Functions

void setFixed (bool I0, bool I, bool x0, bool y0, bool alpha, bool beta)
 Set whether each parameter is fixed. More...
 

Public Attributes

realT * data {nullptr}
 Pointer to the array. More...
 
size_t nx {0}
 X dimension of the array. More...
 
size_t ny {0}
 Y dimension of the array. More...
 

Member Function Documentation

◆ setFixed()

template<typename realT >
void mx::math::fit::array2FitMoffat< realT >::setFixed ( bool  I0,
bool  I,
bool  x0,
bool  y0,
bool  alpha,
bool  beta 
)
inline

Set whether each parameter is fixed.

Sets the parameter indices appropriately.

Definition at line 633 of file fitMoffat.hpp.

Referenced by mx::math::fit::fitMoffat2D< fitterT >::setFixed().

Member Data Documentation

◆ data

template<typename realT >
realT* mx::math::fit::array2FitMoffat< realT >::data {nullptr}

Pointer to the array.

Definition at line 610 of file fitMoffat.hpp.

Referenced by mx::math::fit::fitMoffat2D< fitterT >::setArray().

◆ nx

template<typename realT >
size_t mx::math::fit::array2FitMoffat< realT >::nx {0}

X dimension of the array.

Definition at line 611 of file fitMoffat.hpp.

Referenced by mx::math::fit::fitMoffat2D< fitterT >::setArray().

◆ ny

template<typename realT >
size_t mx::math::fit::array2FitMoffat< realT >::ny {0}

Y dimension of the array.

Definition at line 612 of file fitMoffat.hpp.

Referenced by mx::math::fit::fitMoffat2D< fitterT >::setArray().


The documentation for this struct was generated from the following file: