SourceXtractorPlusPlus  0.11
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
SourceXtractor::ShapeParameters Class Reference

#include <ShapeParameters.h>

Inheritance diagram for SourceXtractor::ShapeParameters:
[legend]
Collaboration diagram for SourceXtractor::ShapeParameters:
[legend]

Public Member Functions

 ShapeParameters (SeFloat a, SeFloat b, SeFloat theta, SeFloat abcor, SeFloat cxx, SeFloat cyy, SeFloat cxy, SeFloat area)
 
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
 
- 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
 

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 
)
inline

Definition at line 35 of file ShapeParameters.h.

◆ ~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.

Referenced by SourceXtractor::ObjectInfo::getRadius().

◆ 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.

Member Data Documentation

◆ m_a

SeFloat SourceXtractor::ShapeParameters::m_a
private

Definition at line 108 of file ShapeParameters.h.

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

◆ m_abcor

SeFloat SourceXtractor::ShapeParameters::m_abcor
private

Definition at line 109 of file ShapeParameters.h.

Referenced by getAbcor().

◆ m_area

SeFloat SourceXtractor::ShapeParameters::m_area
private

Definition at line 111 of file ShapeParameters.h.

Referenced by getArea().

◆ m_b

SeFloat SourceXtractor::ShapeParameters::m_b
private

Definition at line 108 of file ShapeParameters.h.

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

◆ m_cxx

SeFloat SourceXtractor::ShapeParameters::m_cxx
private

Definition at line 110 of file ShapeParameters.h.

Referenced by getEllipseCxx().

◆ m_cxy

SeFloat SourceXtractor::ShapeParameters::m_cxy
private

Definition at line 110 of file ShapeParameters.h.

Referenced by getEllipseCxy().

◆ m_cyy

SeFloat SourceXtractor::ShapeParameters::m_cyy
private

Definition at line 110 of file ShapeParameters.h.

Referenced by getEllipseCyy().

◆ m_theta

SeFloat SourceXtractor::ShapeParameters::m_theta
private

Definition at line 108 of file ShapeParameters.h.

Referenced by getEllipseTheta().


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