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

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

Wrapper for a native array to pass to levmarInterface, with empirical function fit details.

Definition at line 153 of file fitEmpirical.hpp.

#include <math/fit/fitEmpirical.hpp>

Public Member Functions

void setFixed (bool scale, bool dx, bool dy)
 Set whether each parameter is fixed.
 

Public Attributes

const eigenImage< realT > * m_data { nullptr }
 Pointer to the data array.
 
const eigenImage< realT > * m_ref { nullptr }
 Pointer to the reference image to fit to the data.
 
eigenImage< realT > m_refShifted
 Working memory for the shifted reference image.
 
size_t m_nx { 0 }
 X dimension of the array.
 
size_t m_ny { 0 }
 Y dimension of the array.
 

Member Function Documentation

◆ setFixed()

template<typename realT >
void mx::math::fit::array2FitEmpirical< realT >::setFixed ( bool  scale,
bool  dx,
bool  dy 
)
inline

Set whether each parameter is fixed.

Sets the parameter indices appropriately.

Definition at line 192 of file fitEmpirical.hpp.

References mx::math::six_fifths().

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

Member Data Documentation

◆ m_data

template<typename realT >
const eigenImage<realT>* mx::math::fit::array2FitEmpirical< realT >::m_data { nullptr }

Pointer to the data array.

Definition at line 155 of file fitEmpirical.hpp.

◆ m_nx

template<typename realT >
size_t mx::math::fit::array2FitEmpirical< realT >::m_nx { 0 }

X dimension of the array.

Definition at line 159 of file fitEmpirical.hpp.

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

◆ m_ny

template<typename realT >
size_t mx::math::fit::array2FitEmpirical< realT >::m_ny { 0 }

Y dimension of the array.

Definition at line 160 of file fitEmpirical.hpp.

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

◆ m_ref

template<typename realT >
const eigenImage<realT>* mx::math::fit::array2FitEmpirical< realT >::m_ref { nullptr }

Pointer to the reference image to fit to the data.

Definition at line 156 of file fitEmpirical.hpp.

◆ m_refShifted

template<typename realT >
eigenImage<realT> mx::math::fit::array2FitEmpirical< realT >::m_refShifted

Working memory for the shifted reference image.

Definition at line 157 of file fitEmpirical.hpp.


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