Class GalMag

Inheritance Relationships

Base Type

Class Documentation

class GalMag : public Mag

inherited class handling expected magnitudes from galaxy SED

Public Functions

GalMag(keymap &key_analysed)

Build a GalMag instance and read the galaxy-specific keywords

Parameters:

key_analysed – map of keyword/value pairs

inline GalMag()
inline ~GalMag()
virtual void print_info()

print general information onscreen, valid for GAL/QSO/STAR objects

virtual void read_SED()

read SED files, apply extinction corrections, and store into a vector of instances of class SED

vector<GalSED> make_maglib(GalSED &oneSED)

Build the library of synthetic magnitudes for a single galaxy SED, looping over the E(B-V) and extinction law grids and the filter set. This also generates the emission-line SED (see GalSED::generateEmSED)

Parameters:

oneSED – the galaxy SED to process; its state is modified in place (emission lines are added to it)

Returns:

vector of GalSED, one per output entry of the library

void write_mag(const vector<GalSED> &seds)

Write the magnitudes of the input SEDs to the output library files

Parameters:

seds – SEDs (with their magnitudes already computed) to write out