|
| SourcePixelled (PosType my_z, PosType *center, int Npixels, PosType resolution, PosType *arr_val, PosType zero_point) |
|
template<typename T > |
| SourcePixelled (const PixelMap< T > &gal_map, PosType z, PosType factor, PosType zero_point) |
| Creates a SourcePixelled from a PixelMap image. The idea is to use stamps of observed galaxies as input sources for simuations. Surface brightness of the source is conserved, taking into account the input pixel size. Factor allows for rescaling of the flux, in case one wants to simulate a different observation.
|
|
PosType | SurfaceBrightness (const PosType *y) const |
|
void | printSource () |
|
PosType | getTotalFlux () const |
|
PosType | getRadius () const |
|
PosType * | getEll () |
|
PosType | getQuad (int i, int j) |
|
PosType | getSize () |
|
PosType * | getCentroid () |
|
PosType | getMag () |
|
| 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) |
|
Class for sources described by an array of pixels.
The sources are created as a square array of pixels of dimension Npixels x Npixels and pixel size equal to resolution.