lsst.afw g2603b601e3+b53bcbb7be
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
lsst::afw::geom::ellipses::Distortion Class Reference

A complex ellipticity with magnitude \(|e| = \frac{a^2 - b^2}{a^2 + b^2}\). More...

#include <Distortion.h>

Inheritance diagram for lsst::afw::geom::ellipses::Distortion:
lsst::afw::geom::ellipses::detail::EllipticityBase

Public Types

enum  ParameterEnum { E1 = 0 , E2 = 1 }
 
using Jacobian = Eigen::Matrix2d
 

Public Member Functions

 Distortion (std::complex< double > const &complex)
 
 Distortion (double e1=0.0, double e2=0.0)
 
 Distortion (Distortion const &other)
 
 Distortion (Distortion &&other)
 
 ~Distortion ()=default
 
 Distortion (ConformalShear const &other)
 
 Distortion (ReducedShear const &other)
 
Distortionoperator= (Distortion const &other)
 
Distortionoperator= (Distortion &&other)
 
Distortionoperator= (ConformalShear const &other)
 
Distortionoperator= (ReducedShear const &other)
 
Jacobian dAssign (Distortion const &other)
 
Jacobian dAssign (ConformalShear const &other)
 
Jacobian dAssign (ReducedShear const &other)
 
double getAxisRatio () const
 
void normalize ()
 
std::complex< double > & getComplex ()
 
std::complex< double > const & getComplex () const
 
void setComplex (std::complex< double > const &v)
 
double getE1 () const
 
void setE1 (double e1)
 
double getE2 () const
 
void setE2 (double e2)
 
double getE () const
 
void setE (double e)
 
double getTheta () const
 

Static Public Member Functions

static std::string getName ()
 

Protected Attributes

std::complex< double > _complex
 

Detailed Description

A complex ellipticity with magnitude \(|e| = \frac{a^2 - b^2}{a^2 + b^2}\).

For a more complete definition, see Bernstein and Jarvis (2002); this the same as their distortion \(\delta\) (eq. 2.7).

Definition at line 44 of file Distortion.h.

Member Typedef Documentation

◆ Jacobian

Definition at line 47 of file EllipticityBase.h.

Member Enumeration Documentation

◆ ParameterEnum

Enumerator
E1 
E2 

Definition at line 49 of file EllipticityBase.h.

Constructor & Destructor Documentation

◆ Distortion() [1/6]

lsst::afw::geom::ellipses::Distortion::Distortion ( std::complex< double > const &  complex)
inlineexplicit

Definition at line 46 of file Distortion.h.

◆ Distortion() [2/6]

lsst::afw::geom::ellipses::Distortion::Distortion ( double  e1 = 0.0,
double  e2 = 0.0 
)
inlineexplicit

Definition at line 48 of file Distortion.h.

◆ Distortion() [3/6]

lsst::afw::geom::ellipses::Distortion::Distortion ( Distortion const &  other)
inline

Definition at line 50 of file Distortion.h.

◆ Distortion() [4/6]

lsst::afw::geom::ellipses::Distortion::Distortion ( Distortion &&  other)
inline

Definition at line 52 of file Distortion.h.

◆ ~Distortion()

lsst::afw::geom::ellipses::Distortion::~Distortion ( )
default

◆ Distortion() [5/6]

lsst::afw::geom::ellipses::Distortion::Distortion ( ConformalShear const &  other)
inlineexplicit

Definition at line 55 of file Distortion.h.

◆ Distortion() [6/6]

lsst::afw::geom::ellipses::Distortion::Distortion ( ReducedShear const &  other)
inlineexplicit

Definition at line 57 of file Distortion.h.

Member Function Documentation

◆ dAssign() [1/3]

detail::EllipticityBase::Jacobian lsst::afw::geom::ellipses::Distortion::dAssign ( ConformalShear const &  other)

Definition at line 56 of file Distortion.cc.

◆ dAssign() [2/3]

Jacobian lsst::afw::geom::ellipses::Distortion::dAssign ( Distortion const &  other)
inline

Definition at line 70 of file Distortion.h.

◆ dAssign() [3/3]

detail::EllipticityBase::Jacobian lsst::afw::geom::ellipses::Distortion::dAssign ( ReducedShear const &  other)

Definition at line 75 of file Distortion.cc.

◆ getAxisRatio()

double lsst::afw::geom::ellipses::Distortion::getAxisRatio ( ) const

Definition at line 34 of file Distortion.cc.

◆ getComplex() [1/2]

std::complex< double > & lsst::afw::geom::ellipses::detail::EllipticityBase::getComplex ( )
inlineinherited

Definition at line 51 of file EllipticityBase.h.

◆ getComplex() [2/2]

std::complex< double > const & lsst::afw::geom::ellipses::detail::EllipticityBase::getComplex ( ) const
inlineinherited

Definition at line 53 of file EllipticityBase.h.

◆ getE()

double lsst::afw::geom::ellipses::detail::EllipticityBase::getE ( ) const
inlineinherited

Definition at line 75 of file EllipticityBase.h.

◆ getE1()

double lsst::afw::geom::ellipses::detail::EllipticityBase::getE1 ( ) const
inlineinherited

Definition at line 57 of file EllipticityBase.h.

◆ getE2()

double lsst::afw::geom::ellipses::detail::EllipticityBase::getE2 ( ) const
inlineinherited

Definition at line 66 of file EllipticityBase.h.

◆ getName()

static std::string lsst::afw::geom::ellipses::Distortion::getName ( )
inlinestatic

Definition at line 83 of file Distortion.h.

◆ getTheta()

double lsst::afw::geom::ellipses::detail::EllipticityBase::getTheta ( ) const
inlineinherited

Definition at line 78 of file EllipticityBase.h.

◆ normalize()

void lsst::afw::geom::ellipses::Distortion::normalize ( )

Definition at line 87 of file Distortion.cc.

◆ operator=() [1/4]

Distortion & lsst::afw::geom::ellipses::Distortion::operator= ( ConformalShear const &  other)

Definition at line 39 of file Distortion.cc.

◆ operator=() [2/4]

Distortion & lsst::afw::geom::ellipses::Distortion::operator= ( Distortion &&  other)
inline

Definition at line 64 of file Distortion.h.

◆ operator=() [3/4]

Distortion & lsst::afw::geom::ellipses::Distortion::operator= ( Distortion const &  other)
inline

Definition at line 59 of file Distortion.h.

◆ operator=() [4/4]

Distortion & lsst::afw::geom::ellipses::Distortion::operator= ( ReducedShear const &  other)

Definition at line 50 of file Distortion.cc.

◆ setComplex()

void lsst::afw::geom::ellipses::detail::EllipticityBase::setComplex ( std::complex< double > const &  v)
inlineinherited

Definition at line 55 of file EllipticityBase.h.

◆ setE()

void lsst::afw::geom::ellipses::detail::EllipticityBase::setE ( double  e)
inlineinherited

Definition at line 76 of file EllipticityBase.h.

◆ setE1()

void lsst::afw::geom::ellipses::detail::EllipticityBase::setE1 ( double  e1)
inlineinherited

Definition at line 58 of file EllipticityBase.h.

◆ setE2()

void lsst::afw::geom::ellipses::detail::EllipticityBase::setE2 ( double  e2)
inlineinherited

Definition at line 67 of file EllipticityBase.h.

Member Data Documentation

◆ _complex

std::complex<double> lsst::afw::geom::ellipses::detail::EllipticityBase::_complex
protectedinherited

Definition at line 91 of file EllipticityBase.h.


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