GLAMERDOC++
Gravitational Lensing Code Library
|
Class for sources described by a Sersic profile. More...
#include <sersic_source.h>
Public Member Functions | |
SourceSersic () | |
sets values to invalid values | |
SourceSersic (double my_mag, double my_Reff, double my_PA, double my_index, double my_q, double my_z, Band band) | |
SourceSersic (double my_mag, double my_Reff, double my_PA, double my_index, double my_q, double my_z, double my_zeropoint, Band band) | |
SourceSersic (const SourceSersic &p) | |
SourceSersic & | operator= (const SourceSersic &p) |
void | ReSet (PosType mag, Band band, PosType Reff, PosType PA, PosType my_index, PosType my_q, PosType my_z, const PosType *theta=0) |
Reset parameters but not the magnitude. | |
PosType | FractionRadius (PosType f) |
calculates radius where the surface brightness drops by a factor f with respect to the central peak in radians | |
PosType | getSersicIndex () const |
PosType | getAxesRatio () const |
PosType | getReff () const |
in arcseconds | |
PosType | getPA () const |
void | setSersicIndex (PosType x) |
void | setAxesRatio (PosType x) |
void | setReff (PosType x) |
void | setPA (PosType x) |
void | rotate (PosType theta) |
PosType | SurfaceBrightness (const PosType *x) const |
void | printSource () |
Class for sources described by a Sersic profile.
The sources are constructed from magnitude, half light radius Reff, Sersic index, axis ratio q and main axis orientation PA. For q = 1, the source is circular and the surface brightness profile is I(r) = Ieff * exp(-bn*((r/Reff)^(1/index)-1)) The elliptical model is defined for axis ratio q < 1.
SourceSersic::SourceSersic | ( | ) |
sets values to invalid values
set to values that hopefully will cause an error if it is used
SourceSersic::SourceSersic | ( | double | my_mag, |
double | my_Reff, | ||
double | my_PA, | ||
double | my_index, | ||
double | my_q, | ||
double | my_z, | ||
Band | band ) |
my_mag | Total magnitude |
my_Reff | Bulge half light radius (arcs) |
my_PA | Position angle (radians) |
my_index | Sersic index |
my_q | axes ratio |
my_z | redshift |
band | band of my_mag |
SourceSersic::SourceSersic | ( | double | my_mag, |
double | my_Reff, | ||
double | my_PA, | ||
double | my_index, | ||
double | my_q, | ||
double | my_z, | ||
double | my_zeropoint, | ||
Band | band ) |
my_mag | Total magnitude |
my_Reff | Bulge half light radius (arcs) |
my_PA | Position angle (radians) |
my_index | Sersic index |
my_q | axes ratio |
my_z | redshift |
my_zeropoint | zeropoint |
band | band |
|
virtual |
Implements Source.
void SourceSersic::ReSet | ( | PosType | mag, |
Band | band, | ||
PosType | Reff, | ||
PosType | PA, | ||
PosType | my_index, | ||
PosType | my_q, | ||
PosType | my_z, | ||
const PosType * | theta = 0 ) |
Reset parameters but not the magnitude.
mag | Total magnitude |
Reff | Bulge half light radius (arcs) |
PA | Position angle (radians) |
my_index | Sersic index |
my_q | axes ratio |
my_z | redshift |
theta | optional angular position on the sky |
|
virtual |
Surface brightness of source in grid coordinates not source centered coordinates.
The units shuld be ergs / s / Hz / cm^2
Implements Source.