ShearImage Class Reference

Creates a distorted image plane from given Shear and Convergence maps. More...

#include <shearimage.h>


Public Member Functions

 ShearImage (Plane< Double > &newConvergence, Plane< math::Complex > &newShear)
 Main Constructor.
 ShearImage (const ShearImage &)
 Copy Constructor.
 ~ShearImage ()
 Destructor.
Plane< math::Complex > getShearMap () const
Plane< Double > getConvergence () const
Plane< Double > * createDistortedImage (const Plane< Double > *original) const throw (DavidException)
 1st Value of Double contains ellipticity and 2nd part contains semimajor axis length (e=1-b/a) and 3rd part contains the angle of the semi-major axis wrt the "horizontal" axis
Double distortPixel (Double &original, int x, int y) const throw (DavidException)

Private Attributes

Plane< Double > * convergence
 Convergence(mass density).
Plane< math::Complex > * shearMap
 Measure of 2D shear.


Detailed Description

Creates a distorted image plane from given Shear and Convergence maps.

Created by David Coss, 2008


Constructor & Destructor Documentation

ShearImage::ShearImage ( Plane< Double > &  newConvergence,
Plane< math::Complex > &  newShear 
)

Main Constructor.

Parameters:
newConvergence Plane<Double> for the given lens mass.
newShear Plane<Double> Shear Map for the given lens.

References convergence, Plane< T >::numberOfColumns(), Plane< T >::numberOfRows(), and shearMap.

ShearImage::ShearImage ( const ShearImage rhs  ) 

Copy Constructor.

References convergence, getConvergence(), getShearMap(), and shearMap.

ShearImage::~ShearImage (  ) 

Destructor.

References convergence, and shearMap.


Member Function Documentation

Plane< Double > * ShearImage::createDistortedImage ( const Plane< Double > *  original  )  const throw (DavidException)

1st Value of Double contains ellipticity and 2nd part contains semimajor axis length (e=1-b/a) and 3rd part contains the angle of the semi-major axis wrt the "horizontal" axis

References Plane< T >::numberOfRows(), and Plane< T >::setValue().

Double ShearImage::distortPixel ( Double &  original,
int  x,
int  y 
) const throw (DavidException)

Plane< Double > ShearImage::getConvergence (  )  const

References convergence.

Referenced by ShearImage().

Plane< math::Complex > ShearImage::getShearMap (  )  const

References shearMap.

Referenced by ShearImage().


Field Documentation

Plane<Double>* ShearImage::convergence [private]

Convergence(mass density).

Referenced by getConvergence(), ShearImage(), and ~ShearImage().

Plane<math::Complex>* ShearImage::shearMap [private]

Measure of 2D shear.

Referenced by getShearMap(), ShearImage(), and ~ShearImage().


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

Generated on Sat Feb 6 12:43:20 2010 by  doxygen 1.5.7.1