|
| SourceMultiShapelets (double mag_zero_point) |
|
| SourceMultiShapelets (const std::string &my_shapelets_folder, Band my_band, double my_max_mag_limit, double my_min_mag_limit, double my_z_max, double my_sb_limit, double maximum_radius, double zero_point) |
| Reads in sources from a catalog.
|
|
void | input (const std::string &my_shapelets_folder, Band my_band, double my_max_mag_limit, double my_min_mag_limit, double my_z_max, double my_sb_limit, double maximum_radius, double zero_point) |
|
void | sortInRedshift () |
| Sort the sources by redshift in assending order.
|
|
void | sortInMag () |
| Sort the sources by magnitude in assending order.
|
|
PosType | SurfaceBrightness (const PosType *x) const |
| Surface brightness of current galaxy.
|
|
void | printSource () |
| Print info on current source parameters.
|
|
std::size_t | getNumberOfGalaxies () const |
|
std::size_t | size () const |
| number of galaxies
|
|
PosType | getTotalFlux () const |
| Total flux coming from the current galaxy in erg/sec/Hz/cm^2.
|
|
Point_2d | getTheta () const |
| Return angular position of current source.
|
|
void | setTheta (PosType my_theta[2]) |
| Set angular position of current source.
|
|
void | setTheta (PosType my_x, PosType my_y) |
|
void | setTheta (const Point_2d &p) |
|
PosType | getZ () const |
| Return redshift of current source.
|
|
PosType | getRadius () const |
|
SourceShapelets & | setIndex (std::size_t i) |
|
size_t | getIndex () const |
|
SourceShapelets & | operator[] (std::size_t i) |
|
SourceShapelets & | back () |
|
const SourceShapelets & | operator[] (std::size_t i) const |
|
SourceShapelets & | CurrentGalaxy () |
|
SourceShapelets & | setBand (Band b, double zeropoint) |
| Sets the active band for all the objects.
|
|
int | locateZ (PosType z) const |
| If the sources are already sorted by redshift this will find the index of the first galaxy with redshift above z.
|
|
int | getCurrentID () |
|
| 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 reading in and handling an array of SourceShapelets, made on the model of SourceMultiAnaGalaxy Galaxies are read from files in a predifined directory and put into a std::vector that allows sorting in redshift and magnitude. An individual object can be get via CurrentGalaxy() or the overloaded operator [].