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

Public Attributes

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

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 612 of file fitMoffat.hpp.

Member Data Documentation

◆ data

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

Pointer to the array.

Definition at line 589 of file fitMoffat.hpp.

◆ nx

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

X dimension of the array.

Definition at line 590 of file fitMoffat.hpp.

◆ ny

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

Y dimension of the array.

Definition at line 591 of file fitMoffat.hpp.


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