SourceXtractorPlusPlus
0.12
Please provide a description of the project.
SEFramework
SEFramework
Aperture
EllipticalAperture.h
Go to the documentation of this file.
1
17
/*
18
* EllipticalAperture.h
19
*
20
* Created on: Oct 08, 2018
21
* Author: Alejandro Alvarez
22
*/
23
24
#ifndef _SEFRAMEWORK_SEFRAMEWORK_APERTURE_ELLIPTICALAPERTURE_H
25
#define _SEFRAMEWORK_SEFRAMEWORK_APERTURE_ELLIPTICALAPERTURE_H
26
27
#include "
Aperture.h
"
28
29
namespace
SourceXtractor
{
30
31
class
EllipticalAperture
:
public
Aperture
{
32
public
:
33
virtual
~EllipticalAperture
() =
default
;
34
35
EllipticalAperture
(
SeFloat
cxx,
SeFloat
cyy,
SeFloat
cxy,
SeFloat
rad_max);
36
37
SeFloat
getArea
(
SeFloat
center_x,
SeFloat
center_y,
SeFloat
pixel_x,
SeFloat
pixel_y)
const override
;
38
39
PixelCoordinate
getMinPixel
(
SeFloat
centroid_x,
SeFloat
centroid_y)
const override
;
40
41
PixelCoordinate
getMaxPixel
(
SeFloat
centroid_x,
SeFloat
centroid_y)
const override
;
42
43
SeFloat
getRadiusSquared
(
SeFloat
center_x,
SeFloat
center_y,
SeFloat
pixel_x,
SeFloat
pixel_y)
const override
;
44
45
private
:
46
SeFloat
m_cxx
;
47
SeFloat
m_cyy
;
48
SeFloat
m_cxy
;
49
SeFloat
m_rad_max
;
50
};
51
52
}
// end SourceXtractor
53
54
#endif // _SEFRAMEWORK_SEFRAMEWORK_APERTURE_ELLIPTICALAPERTURE_H
SourceXtractor::EllipticalAperture::m_cxy
SeFloat m_cxy
Definition:
EllipticalAperture.h:48
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition:
Types.h:32
SourceXtractor::EllipticalAperture::EllipticalAperture
EllipticalAperture(SeFloat cxx, SeFloat cyy, SeFloat cxy, SeFloat rad_max)
Definition:
EllipticalAperture.cpp:29
SourceXtractor::EllipticalAperture::getArea
SeFloat getArea(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
Definition:
EllipticalAperture.cpp:34
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::EllipticalAperture::getMaxPixel
PixelCoordinate getMaxPixel(SeFloat centroid_x, SeFloat centroid_y) const override
Definition:
EllipticalAperture.cpp:60
SourceXtractor::EllipticalAperture::m_cyy
SeFloat m_cyy
Definition:
EllipticalAperture.h:47
SourceXtractor::PixelCoordinate
A pixel coordinate made of two integers m_x and m_y.
Definition:
PixelCoordinate.h:37
SourceXtractor::EllipticalAperture
Definition:
EllipticalAperture.h:31
SourceXtractor::EllipticalAperture::getMinPixel
PixelCoordinate getMinPixel(SeFloat centroid_x, SeFloat centroid_y) const override
Definition:
EllipticalAperture.cpp:49
Aperture.h
SourceXtractor::EllipticalAperture::m_rad_max
SeFloat m_rad_max
Definition:
EllipticalAperture.h:49
SourceXtractor::EllipticalAperture::~EllipticalAperture
virtual ~EllipticalAperture()=default
SourceXtractor::EllipticalAperture::m_cxx
SeFloat m_cxx
Definition:
EllipticalAperture.h:46
SourceXtractor::EllipticalAperture::getRadiusSquared
SeFloat getRadiusSquared(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
Definition:
EllipticalAperture.cpp:41
SourceXtractor::Aperture
Definition:
Aperture.h:32
Generated by
1.8.14