SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
#include <SersicProfile.h>
Public Member Functions | |
SersicProfile (std::shared_ptr< BasicParameter > i0, std::shared_ptr< BasicParameter > n, std::shared_ptr< BasicParameter > k) | |
SersicProfile (const SersicProfile &other) | |
virtual | ~SersicProfile () |
double | operator() (double r) const |
Private Attributes | |
std::shared_ptr< BasicParameter > | m_i0 |
std::shared_ptr< BasicParameter > | m_n |
std::shared_ptr< BasicParameter > | m_k |
Mathematical function that describes how the intensity I of a galaxy varies with distance R.
\( I=I_0 * e ^ {-k * R^{1 / n}} \)
Definition at line 35 of file SersicProfile.h.
ModelFitting::SersicProfile::SersicProfile | ( | std::shared_ptr< BasicParameter > | i0, |
std::shared_ptr< BasicParameter > | n, | ||
std::shared_ptr< BasicParameter > | k | ||
) |
Constructor
i0 | Intensity at the center |
n | Sersic index. n=1 is exponential and n=4 de Vaucouleurs |
k | A constant that multiplies the term \( R^{1 / n} \) |
Definition at line 29 of file SersicProfile.cpp.
ModelFitting::SersicProfile::SersicProfile | ( | const SersicProfile & | other | ) |
Copy constructor
Definition at line 33 of file SersicProfile.cpp.
|
virtualdefault |
Destructor
double ModelFitting::SersicProfile::operator() | ( | double | r | ) | const |
Evaluate the Sersic profile at the given distance
r | The distance from the origin |
Definition at line 39 of file SersicProfile.cpp.
References std::exp(), m_i0, m_k, m_n, and std::pow().
|
private |
Definition at line 69 of file SersicProfile.h.
Referenced by operator()().
|
private |
Definition at line 71 of file SersicProfile.h.
Referenced by operator()().
|
private |
Definition at line 70 of file SersicProfile.h.
Referenced by operator()().