SourceXtractorPlusPlus
0.19
SourceXtractor++, the next generation SExtractor
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ModelFitting
ModelFitting
Models
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
27
#include "
ModelFitting/Models/SharpRegionManager.h
"
28
29
namespace
ModelFitting {
30
35
class
AutoSharp
:
public
SharpRegionManager
{
36
37
public
:
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
66
std::pair<double, int>
nextRadiusAndAngleNo
(
double
prev_r)
override
;
67
68
private
:
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
;
75
double
m_tolerance
;
76
double
m_min_sampling_factor
;
77
78
};
// end of class AutoSharp
79
80
}
// end of namespace ModelFitting
81
82
#endif
/* MODELFITTING_AUTOSHARP_H */
83
ModelFitting::AutoSharp::AutoSharp
AutoSharp(double log_incr=1.122, double first_r=1E-4, double tolerance=0.05, double min_sampling_factor=5.)
Definition:
AutoSharp.cpp:29
ModelFitting::AutoSharp::insideSharpRegion
bool insideSharpRegion(double r) override
Definition:
AutoSharp.cpp:52
std::function< double(double)>
ModelFitting::AutoSharp::m_first_r
double m_first_r
Definition:
AutoSharp.h:74
ModelFitting::AutoSharp::m_max_step
double m_max_step
Definition:
AutoSharp.h:71
ModelFitting::AutoSharp::m_first_pix_r
double m_first_pix_r
Definition:
AutoSharp.h:72
SharpRegionManager.h
std::pair
ModelFitting::SharpRegionManager
Definition:
SharpRegionManager.h:44
ModelFitting::AutoSharp::m_r_sharp
double m_r_sharp
Definition:
AutoSharp.h:70
ModelFitting::AutoSharp
Definition:
AutoSharp.h:35
ModelFitting::AutoSharp::updateRasterizationInfo
void updateRasterizationInfo(double scale, double r_max, Profile profile) override
Definition:
AutoSharp.cpp:36
ModelFitting::AutoSharp::~AutoSharp
virtual ~AutoSharp()
ModelFitting::AutoSharp::m_tolerance
double m_tolerance
Definition:
AutoSharp.h:75
ModelFitting::AutoSharp::nextRadiusAndAngleNo
std::pair< double, int > nextRadiusAndAngleNo(double prev_r) override
Definition:
AutoSharp.cpp:56
ModelFitting::AutoSharp::m_min_sampling_factor
double m_min_sampling_factor
Definition:
AutoSharp.h:76
ModelFitting::AutoSharp::m_log_incr
double m_log_incr
Definition:
AutoSharp.h:73
Generated by
1.8.5