|
| | SourceOverzierPlus (PosType my_mag, PosType my_mag_bulge, Band band, PosType mag_zero_point, PosType my_Reff, PosType my_bulge_q, PosType my_bulge_index, PosType my_Rdisk, PosType my_PA, PosType inclination, unsigned long my_id, PosType my_z, const PosType *theta, Utilities::RandomNumbers_NR &ran) |
| |
| | SourceOverzierPlus (PosType my_mag, PosType my_mag_bulge, Band band, PosType mag_zero_point, PosType my_Reff, PosType my_Rdisk, PosType my_PA, PosType inclination, unsigned long my_id, PosType my_z, const PosType *theta, PosType my_sersic_index_max, PosType my_sersic_index_min, Utilities::RandomNumbers_NR &ran) |
| | this constructor randomizes some of the parameters
|
| |
|
| SourceOverzierPlus (const SourceOverzierPlus &p) |
| |
|
SourceOverzierPlus & | operator= (const SourceOverzierPlus &p) |
| |
| PosType | SurfaceBrightness (const PosType *y) const |
| | Surface brightness in erg/cm^2/sec/rad^2/Hz.
|
| |
| void | setMag (PosType my_mag, Band band, double zeropoint) |
| | magnitude in specific band
|
| |
| void | setMagBulge (PosType my_mag, Band band, double zeropoint) |
| | magnitude in specific band
|
| |
|
PosType | getPA () const |
| | position angle in radians
|
| |
|
void | setPA (double pa) |
| |
|
int | getNarms () const |
| |
|
PosType | getArmAmplitude () const |
| |
|
PosType | getArmAlpha () const |
| |
|
PosType | getSphIndex () const |
| |
|
PosType | getSphAxisRatio () const |
| |
| void | changeBand (Band band) |
| | change the working band
|
| |
|
virtual void | setTheta (PosType *xx) |
| | Reset the position of the source in radians.
|
| |
|
virtual void | setTheta (PosType my_x, PosType my_y) |
| |
|
virtual void | setTheta (const Point_2d &p) |
| |
|
void | setBulgeAxisRatio (PosType q) |
| |
|
void | setBulgeSersicIndex (double index) |
| |
|
void | randomize (Utilities::RandomNumbers_NR &ran) |
| | Randomly change some of the internal paramters and angles of the source.
|
| |
| | SourceOverzier (PosType mag, PosType mag_bulge, Band band, double zero_point, PosType Reff, PosType Rdisk, PosType PA, PosType inclination, unsigned long my_id, PosType my_z, const PosType *theta) |
| |
|
| SourceOverzier (const SourceOverzier &s) |
| |
|
SourceOverzier & | operator= (const SourceOverzier &s) |
| |
|
void | setInternals (PosType mag, PosType mag_bulge, Band band, PosType Reff, PosType Rdisk, PosType PA, PosType inclination, unsigned long my_id, PosType my_z, const PosType *my_theta) |
| | Sets internal variables. If default constructor is used this must be called before the surface brightness function.
|
| |
| PosType | getTotalFlux () const |
| |
| void | printSource () |
| |
|
PosType | getMag () const |
| | get magnitude of whole galaxy. Which band this is in depends on which was passed in the constructor
|
| |
|
PosType | getMag (Band band) const |
| |
|
PosType | getMagBulge () const |
| |
|
PosType | getMagBulge (Band band) const |
| |
|
PosType | getReff () const |
| | bulge half light radius in arcseconds
|
| |
|
PosType | getRdisk () const |
| | disk scale height in arcseconds
|
| |
|
PosType | getBtoT () const |
| | the bulge to total flux ratio
|
| |
|
PosType | getPA () const |
| | position angle in radians
|
| |
|
PosType | getInclination () const |
| | inclination in radians
|
| |
|
float | getSEDtype () const |
| |
|
void | setSEDtype (float s) |
| |
| PosType | getMinSize (PosType f) |
| |
|
| 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.
|
| |
|
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.
|
| |
|
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.
|
| |
|
double | TEST_surface_brightness (double res, int N) |
| | test if flux in pixels matches total flux
|
| |
|
long | getID () const |
| |
|
void | setID (long i) |
| |
Adds some extra features to the SourceOverzier source like spiral arms, and randomizations.