SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
CircularAperture.cpp
Go to the documentation of this file.
1
17/*
18 * CircularAperture.cpp
19 *
20 * Created on: Oct 08, 2018
21 * Author: Alejandro Alvarez
22 */
23#include <iostream>
25
26namespace SourceXtractor {
27
28// enhancing from 5 to 10 smoothens the photometry
29const int SUPERSAMPLE_NB = 10;
30
56
58 SeFloat thickness = 0.5;
59
60 // define an inner and an outer radius
63
64 // compare the actual radius against the inner and outer radius
67 return 1.0;
68 }
69 return 0.0;
70}
71
78
82
86
87} // end SourceXtractor
std::shared_ptr< EngineParameter > dx
std::shared_ptr< EngineParameter > dy
T ceil(T... args)
PixelCoordinate getMinPixel(SeFloat centroid_x, SeFloat centroid_y) const override
SeFloat drawArea(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
SeFloat getRadiusSquared(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
PixelCoordinate getMaxPixel(SeFloat centroid_x, SeFloat centroid_y) const override
SeFloat getArea(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
SeFloat32 SeFloat
Definition Types.h:32
A pixel coordinate made of two integers m_x and m_y.