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

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

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

Definition at line 46 of file fitMoffat.hpp.

#include <math/fit/fitMoffat.hpp>

Public Member Functions

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

Public Attributes

realT * data {nullptr}
 Pointer to the array of y values. More...
 
realT * coords {nullptr}
 Pointer to the array of x values (optional) More...
 
size_t nx {0}
 X dimension of the array. More...
 

Member Function Documentation

◆ setFixed()

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

Set whether each parameter is fixed.

Sets the parameter indices appropriately.

Definition at line 69 of file fitMoffat.hpp.

Referenced by mx::math::fit::fitMoffat1D< _realT >::setFixed().

Member Data Documentation

◆ coords

template<typename realT >
realT* mx::math::fit::array2FitMoffat1D< realT >::coords {nullptr}

Pointer to the array of x values (optional)

Definition at line 49 of file fitMoffat.hpp.

Referenced by mx::math::fit::fitMoffat1D< _realT >::setArray().

◆ data

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

Pointer to the array of y values.

Definition at line 48 of file fitMoffat.hpp.

Referenced by mx::math::fit::fitMoffat1D< _realT >::setArray().

◆ nx

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

X dimension of the array.

Definition at line 50 of file fitMoffat.hpp.

Referenced by mx::math::fit::fitMoffat1D< _realT >::setArray().


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