Class StarMag

Inheritance Relationships

Base Type

Class Documentation

class StarMag : public Mag

inherited class handling expected magnitudes from star SED

Public Functions

StarMag(keymap &key_analysed)

Build a StarMag instance and read the star-specific keywords

Parameters:

key_analysed – map of keyword/value pairs

inline StarMag()
inline ~StarMag()
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<StarSED> make_maglib(const StarSED &sed)

Build the library of synthetic magnitudes for a single star SED, by looping over the filter set (no extinction or E(B-V) grid for stars)

Parameters:

sed – the star SED to process

Returns:

vector of StarSED, one per output entry of the library

void write_mag(const vector<StarSED> &seds)

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

Parameters:

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