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 159 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 improc::eigenImage< realT > * m_data { nullptr }
 Pointer to the data array.
const improc::eigenImage< realT > * m_ref { nullptr }
 Pointer to the reference image to fit to the data.
const improc::eigenImage< realT > * m_weights { nullptr }
 Pointer to the weight image.
improc::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 215 of file fitEmpirical.hpp.

Member Data Documentation

◆ m_data

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

Pointer to the data array.

Definition at line 161 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 166 of file fitEmpirical.hpp.

◆ m_ny

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

Y dimension of the array.

Definition at line 167 of file fitEmpirical.hpp.

◆ m_ref

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

Pointer to the reference image to fit to the data.

Definition at line 162 of file fitEmpirical.hpp.

◆ m_refShifted

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

Working memory for the shifted reference image.

Definition at line 164 of file fitEmpirical.hpp.

◆ m_weights

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

Pointer to the weight image.

Definition at line 163 of file fitEmpirical.hpp.


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