|
GLAMERDOC++
Gravitational Lensing Code Library
|
A uniform surface brightness circular source. More...
#include <source.h>


Public Member Functions | |
| SourceUniform (Point_2d position, PosType z, PosType radius_in_radians) | |
| PosType | SurfaceBrightness (const PosType *y) const |
| void | assignParams (InputParams ¶ms) |
| void | printSource () |
| PosType | getTotalFlux () const |
Public Member Functions inherited from Source | |
| Source (PosType r, Point_2d x, PosType z, PosType SBlimit, PosType zero_point) | |
| shell constructor | |
| Source (const Source &s) | |
| Source & | operator= (const Source &s) |
| double | SBlimit_magarcsec (double limit) |
| convert mag/arcsec^2 to flux units | |
| PosType | getSBlimit () |
| Gets sb_limit in erg/cm^2/sec/rad^2/Hz. | |
| PosType | getSBlimit_magarcsec () |
| Gets sb_limit in mag/arcsec^2. | |
| PosType | getZ () const |
| Redshift of source. | |
| void | setZ (PosType my_z) |
| PosType | getRadius () const |
| Radius of source in radians. | |
| void | setRadius (PosType my_radius) |
| Reset the radius of the source in radians. | |
| Point_2d | getTheta () const |
| position of source in radians | |
| void | getTheta (PosType *x) const |
| position of source in radians | |
| void | getTheta (Point_2d &x) const |
| position of source in radians | |
| void | setTheta (PosType *xx) |
| Reset the position of the source in radians. | |
| void | setTheta (PosType my_x, PosType my_y) |
| void | setTheta (const Point_2d &p) |
| void | setSBlimit (float limit) |
| Sets sb_limit in erg/cm^2/sec/rad^2/Hz. | |
| void | setMagZeroPoint (float zeropoint) |
| double | getMagZeroPoint () |
| PosType | changeFilter (std::string filter_in, std::string filter_out, std::string sed) |
| Calculates the difference in magnitude when changing the observing filter. More... | |
| PosType | integrateFilter (std::vector< PosType > wavel_fil, std::vector< PosType > fil) |
| Calculates the integral of the filter curve given as an array of (x,y) values. More... | |
| PosType | integrateFilterSED (std::vector< PosType > wavel_fil, std::vector< PosType > fil, std::vector< PosType > wavel_sed, std::vector< PosType > sed) |
| Calculates the integral of the sed multiplied by the filter curve. More... | |
| double | TEST_surface_brightness (double res, int N) |
| test if flux in pixels matches total flux | |
| long | getID () const |
| void | setID (long i) |
Additional Inherited Members | |
Static Public Member Functions inherited from Source | |
| static PosType * | getx (Source &source) |
Protected Member Functions inherited from Source | |
| double | flux_to_mag (double flux) const |
Protected Attributes inherited from Source | |
| PosType | source_r |
| charactoristic source size | |
| Point_2d | source_x |
| center of source | |
| PosType | zsource |
| redshift of source | |
| PosType | sb_limit |
| long | id |
| double | mag_zero_point |
A uniform surface brightness circular source.
| SourceUniform::SourceUniform | ( | Point_2d | position, |
| PosType | z, | ||
| PosType | radius_in_radians | ||
| ) |
| position | postion on the sky in radians |
| z | redshift of source |
| radius_in_radians | radius of source in radians |
|
virtual |
Surface brightness of source in grid coordinates not source centered coordinates.
The units shuld be ergs / s / Hz / cm^2
Implements Source.
1.8.18