SourceXtractorPlusPlus  0.10
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
ModelFitting::ExpSigmoidConverter Class Reference

CoordinateConverter implementation using the Exponantiated Sigmoid function. More...

#include <ExpSigmoidConverter.h>

Inheritance diagram for ModelFitting::ExpSigmoidConverter:
[legend]
Collaboration diagram for ModelFitting::ExpSigmoidConverter:
[legend]

Public Member Functions

 ExpSigmoidConverter (const double min_value, const double max_value, const double scale_factor=1.0)
 
double worldToEngine (const double world_value) const override
 World to engine coordinate converter. More...
 
double engineToWorld (const double engine_value) const override
 Engine to world coordinate converter. More...
 
double getEngineToWorldDerivative (const double value) const override
 
virtual ~ExpSigmoidConverter ()
 Destructor. More...
 
- Public Member Functions inherited from ModelFitting::CoordinateConverter
virtual ~CoordinateConverter ()
 Destructor. More...
 

Private Attributes

const double m_min_value
 minimum model value in world coordinates More...
 
const double m_max_value
 maximum model value in world coordinates More...
 
const double m_scale_factor
 

Detailed Description

CoordinateConverter implementation using the Exponantiated Sigmoid function.

Definition at line 38 of file ExpSigmoidConverter.h.

Constructor & Destructor Documentation

◆ ExpSigmoidConverter()

ModelFitting::ExpSigmoidConverter::ExpSigmoidConverter ( const double  min_value,
const double  max_value,
const double  scale_factor = 1.0 
)
inline

Definition at line 42 of file ExpSigmoidConverter.h.

References m_max_value, and m_min_value.

◆ ~ExpSigmoidConverter()

ModelFitting::ExpSigmoidConverter::~ExpSigmoidConverter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ engineToWorld()

double ModelFitting::ExpSigmoidConverter::engineToWorld ( const double  engine_value) const
overridevirtual

Engine to world coordinate converter.

Parameters
engine_value
Returns
world_value

Implements ModelFitting::CoordinateConverter.

Definition at line 43 of file ExpSigmoidConverter.cpp.

References std::exp(), and std::log().

Here is the call graph for this function:

◆ getEngineToWorldDerivative()

double ModelFitting::ExpSigmoidConverter::getEngineToWorldDerivative ( const double  value) const
overridevirtual

Implements ModelFitting::CoordinateConverter.

Definition at line 47 of file ExpSigmoidConverter.cpp.

References std::log().

Here is the call graph for this function:

◆ worldToEngine()

double ModelFitting::ExpSigmoidConverter::worldToEngine ( const double  world_value) const
overridevirtual

World to engine coordinate converter.

Parameters
world_valueThe value of the parameter in world coordinate
Returns
engine_value The value of the parameter in engine coordinate

Implements ModelFitting::CoordinateConverter.

Definition at line 34 of file ExpSigmoidConverter.cpp.

References std::log().

Here is the call graph for this function:

Member Data Documentation

◆ m_max_value

const double ModelFitting::ExpSigmoidConverter::m_max_value
private

maximum model value in world coordinates

Definition at line 90 of file ExpSigmoidConverter.h.

Referenced by ExpSigmoidConverter().

◆ m_min_value

const double ModelFitting::ExpSigmoidConverter::m_min_value
private

minimum model value in world coordinates

Definition at line 87 of file ExpSigmoidConverter.h.

Referenced by ExpSigmoidConverter().

◆ m_scale_factor

const double ModelFitting::ExpSigmoidConverter::m_scale_factor
private

Definition at line 92 of file ExpSigmoidConverter.h.


The documentation for this class was generated from the following files: