GRALE
Public Member Functions
grale::ImagesBackProjector Class Reference

Implements the ProjectedImagesInterface interface, and takes a GravitationalLens based lens model as input. More...

#include <imagesbackprojector.h>

Inheritance diagram for grale::ImagesBackProjector:
Inheritance graph
[legend]
Collaboration diagram for grale::ImagesBackProjector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ImagesBackProjector (GravitationalLens &lens, const std::list< ImagesDataExtended * > &images, double z_d, bool copyLens)
 Contructor of the class.
- Public Member Functions inherited from grale::ProjectedImagesInterface
int getNumberOfSources () const
 Returns the number of sources for which data is stored ('source' is here just an entry in the images data list, so it could also indicate the null space data for a particular object)
int getNumberOfImages (int sourceNumber) const
 Returns the number of images stored for a specific source.
int getNumberOfImagePoints (int sourceNumber) const
 Returns the total number of points of all images corresponding to a source index.
int getNumberOfImagePoints (int sourceNumber, int imageNumber) const
 Returns the number of points stored for a particular image of a particular source.
bool hasOriginalIntensities (int sourceNumber) const
 Returns true if measured intensity information was stored for a specific source index.
bool hasOriginalShearInfo (int sourceNumber) const
 Returns true if measured shear info was stored for the points of a specific source.
const float * getOriginalIntensities (int sourceNumber) const
 Returns the measured intensities stored for all images of a specific source number (expressed in terms of the intensity scale, see getIntensityScale).
const float * getOriginalIntensities (int sourceNumber, int imageNumber) const
 Returns the measured intensities stored for a specific image of a specific source.
const float * getOriginalShearComponent1s (int sourceNumber) const
 Returns the stored gamma1 values for all images of a specific source.
const float * getOriginalShearComponent1s (int sourceNumber, int imageNumber) const
 Returns the stored gamma1 values for a specific image of a specific source.
const float * getOriginalShearComponent2s (int sourceNumber) const
 Returns the stored gamma2 values for all images of a specific source.
const float * getOriginalShearComponent2s (int sourceNumber, int imageNumber) const
 Returns the stored gamma2 values for a specific image of a specific source.
int getOriginalNumberOfTimeDelays (int sourceNumber) const
 Returns the number of time delays that were stored for a specific source index.
void getOriginalTimeDelay (int sourceNumber, int index, int *pImg, int *pPoint, float *pDelay) const
 For a specific source and specific index (from 0 to getOriginalNumberOfTimeDelays - 1), the image index for a time delay value will be stored in pImg, the point index in pPoint and the actual measured time delay in pDelay.
double getIntensityScale () const
 Returns the scale in which stored and calculated image point intensities are expressed.

Detailed Description


Constructor & Destructor Documentation

grale::ImagesBackProjector::ImagesBackProjector ( GravitationalLens lens,
const std::list< ImagesDataExtended * > &  images,
double  z_d,
bool  copyLens 
)

Contructor of the class.

Parameters:
lensThe lens model
imagesThe list of images data (actual lensed images, null space etc)
z_dThe redshift of the lens, important if time delays will be calculated.
copyLensIf true, a copy of the lens model is created and stored internally. Otherwise, a pointer to the lens model is stored.

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