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

Public Attributes

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

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.

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.

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

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


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