SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::ShapeParameters Class Reference

#include <ShapeParameters.h>

Inheritance diagram for SourceXtractor::ShapeParameters:
Collaboration diagram for SourceXtractor::ShapeParameters:

Public Member Functions

 ShapeParameters (SeFloat a, SeFloat b, SeFloat theta, SeFloat abcor, SeFloat cxx, SeFloat cyy, SeFloat cxy, SeFloat area, SeFloat intensity, bool singu)
virtual ~ShapeParameters ()=default
SeFloat getEllipseA () const
SeFloat getEllipseB () const
SeFloat getEllipseTheta () const
SeFloat getEllipseCxx () const
SeFloat getEllipseCyy () const
SeFloat getEllipseCxy () const
SeFloat getAbcor () const
SeFloat getArea () const
SeFloat getElongation () const
SeFloat getEllipticity () const
SeFloat getIntensity () const
bool getSinguFlag () const
Public Member Functions inherited from SourceXtractor::Property
virtual ~Property ()=default

Private Attributes

SeFloat m_a
SeFloat m_b
SeFloat m_theta
SeFloat m_abcor
SeFloat m_cxx
SeFloat m_cyy
SeFloat m_cxy
SeFloat m_area
SeFloat m_intensity
bool m_singu_flag

Detailed Description

Definition at line 32 of file ShapeParameters.h.

Constructor & Destructor Documentation

◆ ShapeParameters()

SourceXtractor::ShapeParameters::ShapeParameters ( SeFloat a,
SeFloat b,
SeFloat theta,
SeFloat abcor,
SeFloat cxx,
SeFloat cyy,
SeFloat cxy,
SeFloat area,
SeFloat intensity,
bool singu )
inline

Definition at line 35 of file ShapeParameters.h.

References m_a, m_abcor, m_area, m_b, m_cxx, m_cxy, m_cyy, m_intensity, m_singu_flag, and m_theta.

◆ ~ShapeParameters()

virtual SourceXtractor::ShapeParameters::~ShapeParameters ( )
virtualdefault

Member Function Documentation

◆ getAbcor()

SeFloat SourceXtractor::ShapeParameters::getAbcor ( ) const
inline

Definition at line 91 of file ShapeParameters.h.

References m_abcor.

Referenced by SourceXtractor::MultiThresholdPartitionStep::reassignPixels().

◆ getArea()

SeFloat SourceXtractor::ShapeParameters::getArea ( ) const
inline

Definition at line 95 of file ShapeParameters.h.

References m_area.

◆ getEllipseA()

SeFloat SourceXtractor::ShapeParameters::getEllipseA ( ) const
inline

Semi-major axis

Definition at line 43 of file ShapeParameters.h.

References m_a.

◆ getEllipseB()

SeFloat SourceXtractor::ShapeParameters::getEllipseB ( ) const
inline

Semi-minor axis

Definition at line 50 of file ShapeParameters.h.

References m_b.

◆ getEllipseCxx()

SeFloat SourceXtractor::ShapeParameters::getEllipseCxx ( ) const
inline

\[ \frac{\cos^2 {\tt THETA}}{{\tt A}^2} + \frac{\sin^2 {\tt THETA}}{{\tt B}^2} = \frac{\overline{y^2}}{\overline{x^2} \overline{y^2} - \overline{xy}^2} \]

Definition at line 67 of file ShapeParameters.h.

References m_cxx.

◆ getEllipseCxy()

SeFloat SourceXtractor::ShapeParameters::getEllipseCxy ( ) const
inline

\[ 2 \,\cos {\tt THETA}\,\sin {\tt THETA} \left( \frac{1}{{\tt A}^2} - \frac{1}{{\tt B}^2}\right) = -2\,\frac{\overline{xy}}{\overline{x^2} \overline{y^2} - \overline{xy}^2} \]

Definition at line 87 of file ShapeParameters.h.

References m_cxy.

◆ getEllipseCyy()

SeFloat SourceXtractor::ShapeParameters::getEllipseCyy ( ) const
inline

\[ \frac{\sin^2 {\tt THETA}}{{\tt A}^2} + \frac{\cos^2 {\tt THETA}}{{\tt B}^2} = \frac{\overline{x^2}}{\overline{x^2} \overline{y^2} - \overline{xy}^2} \]

Definition at line 77 of file ShapeParameters.h.

References m_cyy.

◆ getEllipseTheta()

SeFloat SourceXtractor::ShapeParameters::getEllipseTheta ( ) const
inline

Angle in degrees

Definition at line 57 of file ShapeParameters.h.

References m_theta.

◆ getEllipticity()

SeFloat SourceXtractor::ShapeParameters::getEllipticity ( ) const
inline

Definition at line 103 of file ShapeParameters.h.

References m_a, and m_b.

◆ getElongation()

SeFloat SourceXtractor::ShapeParameters::getElongation ( ) const
inline

Definition at line 99 of file ShapeParameters.h.

References m_a, and m_b.

◆ getIntensity()

SeFloat SourceXtractor::ShapeParameters::getIntensity ( ) const
inline

Definition at line 107 of file ShapeParameters.h.

References m_intensity.

◆ getSinguFlag()

bool SourceXtractor::ShapeParameters::getSinguFlag ( ) const
inline

Definition at line 111 of file ShapeParameters.h.

References m_singu_flag.

Member Data Documentation

◆ m_a

SeFloat SourceXtractor::ShapeParameters::m_a
private

Definition at line 116 of file ShapeParameters.h.

Referenced by getEllipseA(), getEllipticity(), getElongation(), and ShapeParameters().

◆ m_abcor

SeFloat SourceXtractor::ShapeParameters::m_abcor
private

Definition at line 117 of file ShapeParameters.h.

Referenced by getAbcor(), and ShapeParameters().

◆ m_area

SeFloat SourceXtractor::ShapeParameters::m_area
private

Definition at line 119 of file ShapeParameters.h.

Referenced by getArea(), and ShapeParameters().

◆ m_b

SeFloat SourceXtractor::ShapeParameters::m_b
private

Definition at line 116 of file ShapeParameters.h.

Referenced by getEllipseB(), getEllipticity(), getElongation(), and ShapeParameters().

◆ m_cxx

SeFloat SourceXtractor::ShapeParameters::m_cxx
private

Definition at line 118 of file ShapeParameters.h.

Referenced by getEllipseCxx(), and ShapeParameters().

◆ m_cxy

SeFloat SourceXtractor::ShapeParameters::m_cxy
private

Definition at line 118 of file ShapeParameters.h.

Referenced by getEllipseCxy(), and ShapeParameters().

◆ m_cyy

SeFloat SourceXtractor::ShapeParameters::m_cyy
private

Definition at line 118 of file ShapeParameters.h.

Referenced by getEllipseCyy(), and ShapeParameters().

◆ m_intensity

SeFloat SourceXtractor::ShapeParameters::m_intensity
private

Definition at line 120 of file ShapeParameters.h.

Referenced by getIntensity(), and ShapeParameters().

◆ m_singu_flag

bool SourceXtractor::ShapeParameters::m_singu_flag
private

Definition at line 121 of file ShapeParameters.h.

Referenced by getSinguFlag(), and ShapeParameters().

◆ m_theta

SeFloat SourceXtractor::ShapeParameters::m_theta
private

Definition at line 116 of file ShapeParameters.h.

Referenced by getEllipseTheta(), and ShapeParameters().


The documentation for this class was generated from the following file: