SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
AutoSharp.h
Go to the documentation of this file.
1
23#ifndef MODELFITTING_AUTOSHARP_H
24#define MODELFITTING_AUTOSHARP_H
25
26#include <utility> // For std::pair
28
29namespace ModelFitting {
30
36
37public:
38
51 AutoSharp(double log_incr=1.122, double first_r=1E-4, double tolerance=0.05,
52 double min_sampling_factor=5.);
53
54 virtual ~AutoSharp();
55
61 void updateRasterizationInfo(double scale, double r_max,
62 Profile profile) override;
63
64 bool insideSharpRegion(double r) override;
65
67
68private:
69
70 double m_r_sharp {0.};
71 double m_max_step {0.};
72 double m_first_pix_r {0.};
73 double m_log_incr;
74 double m_first_r;
77
78}; // end of class AutoSharp
79
80} // end of namespace ModelFitting
81
82#endif /* MODELFITTING_AUTOSHARP_H */
83
void updateRasterizationInfo(double scale, double r_max, Profile profile) override
Definition AutoSharp.cpp:36
bool insideSharpRegion(double r) override
Definition AutoSharp.cpp:52
std::pair< double, int > nextRadiusAndAngleNo(double prev_r) override
Definition AutoSharp.cpp:56
AutoSharp(double log_incr=1.122, double first_r=1E-4, double tolerance=0.05, double min_sampling_factor=5.)
Definition AutoSharp.cpp:29