SourceXtractorPlusPlus  0.16
Please provide a description of the project.
OldSharp.cpp
Go to the documentation of this file.
1 
24 
25 namespace ModelFitting {
26 
27 OldSharp::OldSharp(double r_sharp_pix, double log_incr, double first_r)
28  : m_r_sharp_pix {r_sharp_pix}, m_log_incr{log_incr}, m_first_r{first_r} {
29 }
30 
31 OldSharp::~OldSharp() = default;
32 
33 void OldSharp::updateRasterizationInfo(double scale, double, Profile) {
34  m_r_sharp = m_r_sharp_pix * scale;
35 }
36 
38  return r < m_r_sharp;
39 }
40 
42  double next_r = prev_r > 0
43  ? prev_r * m_log_incr
44  : m_first_r;
45  return std::make_pair(next_r, 72);
46 }
47 
48 } // end of namespace ModelFitting
void updateRasterizationInfo(double scale, double, Profile) override
Definition: OldSharp.cpp:33
std::pair< double, int > nextRadiusAndAngleNo(double prev_r) override
Definition: OldSharp.cpp:41
OldSharp(double r_sharp_pix=4., double log_incr=1.122, double first_r=1E-4)
Definition: OldSharp.cpp:27
bool insideSharpRegion(double r) override
Definition: OldSharp.cpp:37
T make_pair(T... args)