GLAMERDOC++
Gravitational Lensing Code Library
|
12 #include "pointlist.h"
16 enum GATE {unchecked,yes,no};
33 if(
this == &rhs)
return *
this;
85 void ArcInfo(PosType *
area,PosType *area_circ,PosType theta);
86 void FindArc(PosType &radius,PosType *xc,PosType *arc_c,PosType &arclength,PosType &width
87 ,PosType resolution,PosType threshold);
132 short ShouldNotRefine;
PosType centroid[2]
Centroid of image.
Definition: image_info.h:123
PosType area_error
error on the estimate of area
Definition: image_info.h:127
~ImageInfo()
Definition: Tree.cpp:812
PosType ConcaveHullImageArea(bool useborder)
Area of the image using the concave hull of the points on the image plane.
Definition: TreeDriver.cpp:1605
RAY highestSurfaceBrightnessRay()
finds the ray in the image that has the highest surface brightness
Definition: TreeDriver.cpp:1500
Kist< Point > * imagekist
Array of points in image, SHOULD NOT BE USED IN FAVOR OF imagekist! Still used by caustic finding rou...
Definition: image_info.h:47
KappaType aveInvMag()
Computes the inverse magnification averaged over the image, WARNING: This is not always a good measur...
Definition: TreeDriver.cpp:1416
Point * points
Array of points in image, SHOULD NOT BE USED IN FAVOR OF imagekist! Still used by caustic finding rou...
Definition: image_info.h:115
RAY closestRay(const Point_2d &y)
finds the ray in the image that is closest to the point y on the source plane
Definition: TreeDriver.cpp:1453
GATE uniform_mag
Flag for showing when the distortion of an image can be considered linear.
Definition: image_info.h:65
PosType area
area of image or, when using map_images(), the total brightness of the image
Definition: image_info.h:53
unsigned long Npoints
Number of points in image, SHOULD NOT BE USED IN FAVOR OF imagekist->Nunits(). Still used by caustic ...
Definition: image_info.h:117
void FindArc(PosType &radius, PosType *xc, PosType *arc_c, PosType &arclength, PosType &width, PosType resolution, PosType threshold)
Treating the image as an arc, find its parameters, THIS HAS NOT BEEN FINISHED YET!...
Definition: TreeDriver.cpp:1351
Class for representing points or vectors in 2 dimensions. Not that the dereferencing operator is over...
Definition: point.h:48
Point * closestPoint(const Point_2d &y)
finds the point in the image that is closest to the point y on the source plane
Definition: TreeDriver.cpp:1477
bool constant(LensingVariable lenvar, PosType tol)
checks if all the points within the image have the same lensvar with the tolarence
Definition: TreeDriver.cpp:1572
KappaType aveTimeDelay()
Computes the time delay averaged over the image.
Definition: TreeDriver.cpp:1435
PosType area
area of image or, when using map_images(), the total brightness of the image
Definition: image_info.h:125
void copy(const ImageInfo &image, bool copykists=true)
Copy all information about the image including making copies of the imagekist, innerborder and outerb...
Definition: Tree.cpp:834
void Empty()
return to original state after construction
Definition: Tree.cpp:819
Simple representaion of a light path giving position on the image and source planes and lensing quant...
Definition: point.h:510
short ShouldNotRefine
Flag for stopping refinement but also used for other temporary purposes.
Definition: image_info.h:63
PosType ConcaveHullSourceArea(bool useborder)
Area of the image using the concave hull of the points on the image plane.
Definition: TreeDriver.cpp:1634
Kist< Point > * innerborder
the points on the inner border of the image
Definition: image_info.h:129
bool IsMergedImages()
returns true if image is the merger of two or more images of opposite parity
Definition: TreeDriver.cpp:1665
ImageInfo()
Definition: Tree.cpp:777
Kist< Point > * innerborder
the points on the inner border of the image
Definition: image_info.h:57
void PrintImageInfo()
Print information about the image.
Definition: TreeDriver.cpp:1562
PosType centroid[2]
Centroid of image.
Definition: image_info.h:51
void ArcInfo(PosType *area, PosType *area_circ, PosType theta)
Treating the image as an arc, find its parameters, THIS HAS NOT BEEN FINISHED YET!...
Definition: TreeDriver.cpp:1284
PosType gridrange[3]
gridrange[2] minimum grid size in image, gridrange[0] maximum grid size in outerborder,...
Definition: image_info.h:49
PosType gridrange[3]
later addition, holds all points in image, will replace points eventually
Definition: image_info.h:121
This is an old version that should not be used anymore in favor of ImageInfo.
Definition: image_info.h:109
Kist< Point > * outerborder
the points on the outer border of the image, i.e. not in the image
Definition: image_info.h:131
A point on the source or image plane that contains a position and the lensing quantities.
Definition: point.h:414
PosType area_error
error on the estimate of area
Definition: image_info.h:55
LensingVariable
output lensing variables
Definition: standard.h:89
Kist< Point > * outerborder
the points on the outer border of the image, i.e. not in the image
Definition: image_info.h:59
Structure for storing information about images or curves.
Definition: image_info.h:20
unsigned long getNimagePoints()
returns number of points currently in the image
Definition: image_info.h:68