Class ext
Defined in File ext.h
Class Documentation
-
class ext
Class Extinction to store the lambda/value vector from the extinction law read.
The Mag class is in charge of creating and filling the ext instances for each extinction laws to be read from files provided in the config.
Public Functions
-
inline ext(const string nameC, int numextC = 0)
minimal constructor of the ext class, with its name and the id of the extinction law
-
void read(string extFile)
read an extinction file, sort the resulting vector according to ascending lambda, and update class members
-
void add_element(double lam, double val, double ori)
add a single element
Public Members
-
vector<oneElLambda> lamb_ext
vector of struct oneElLambda
-
string name
name of the extinction file
-
double lmin
min lambda value read from the file
-
double lmax
max lambda value read from the file
-
int numext
id of this extinction law
-
inline ext(const string nameC, int numextC = 0)