SourceXtractorPlusPlus
0.11
Please provide a description of the project.
|
#include <OldSharp.h>
Public Member Functions | |
OldSharp (double r_sharp_pix=4., double log_incr=1.122, double first_r=1E-4) | |
virtual | ~OldSharp () |
void | updateRasterizationInfo (double scale, double, Profile) override |
bool | insideSharpRegion (double r) override |
std::pair< double, int > | nextRadiusAndAngleNo (double prev_r) override |
![]() | |
virtual | ~SharpRegionManager ()=default |
Private Attributes | |
double | m_r_sharp_pix |
double | m_r_sharp {0.} |
double | m_log_incr |
double | m_first_r |
Additional Inherited Members | |
![]() | |
using | Profile = std::function< double(double)> |
Legacy implementation of the sharp region manager, matching the logic from SExtractor 2.
The number of samples at a given distance is always 72, and the sharp region is decided at construction: the first sampling distance is first_r, and each step is incremented multiplying by by log_incr. The sharp region is determined by the distance r_sharp_pix, and taking into account the pixel scale: scale * r_sharp_pix
Definition at line 39 of file OldSharp.h.
ModelFitting::OldSharp::OldSharp | ( | double | r_sharp_pix = 4. , |
double | log_incr = 1.122 , |
||
double | first_r = 1E-4 |
||
) |
Constructor
r_sharp_pix | Sharp region |
log_incr | Increment multiplicative step |
first_r | First radius |
Definition at line 27 of file OldSharp.cpp.
|
virtualdefault |
|
overridevirtual |
r | Distance to the origin of the function |
Implements ModelFitting::SharpRegionManager.
Definition at line 37 of file OldSharp.cpp.
References m_r_sharp.
|
overridevirtual |
Computes the next sampling distance, and how many points around the circumference must be sampled at this distance.
prev_r | Previous sampling distance. 0 for the first call. |
Implements ModelFitting::SharpRegionManager.
Definition at line 41 of file OldSharp.cpp.
References m_first_r, m_log_incr, and std::make_pair().
|
overridevirtual |
Implements ModelFitting::SharpRegionManager.
Definition at line 33 of file OldSharp.cpp.
References m_r_sharp, and m_r_sharp_pix.
|
private |
Definition at line 71 of file OldSharp.h.
Referenced by nextRadiusAndAngleNo().
|
private |
Definition at line 70 of file OldSharp.h.
Referenced by nextRadiusAndAngleNo().
|
private |
Definition at line 69 of file OldSharp.h.
Referenced by insideSharpRegion(), and updateRasterizationInfo().
|
private |
Definition at line 68 of file OldSharp.h.
Referenced by updateRasterizationInfo().