Struct SEDlight

Struct Documentation

struct SEDlight

Structure with a light SED vector.

This structure is a light version of the class SED. It propose a light version to be used in fit

Public Functions

inline void push_sed(SED const &src, const array<double, 3> &colRFin)

Append the relevant attributes of a SED template to this light library

Parameters:
  • src – the SED template to append

  • colRFin – rest-frame colors of src, stored in colRF

Public Members

vector<object_type> nlib

object type (GAL/QSO/STAR) of each template

vector<int> index

index in the full SED library

vector<int> nummod

index in the initial list of rest-frame SEDs

vector<int> extlawId

index of the extinction law applied

vector<int> index_z0

index of the z=0 version of the template

vector<double> red

redshift

vector<double> chi2

best-fit chi2

vector<double> dm

normalization of the SED

vector<double> luv

monochromatic UV luminosity (see SED::luv)

vector<double> lopt

monochromatic optical luminosity (see SED::lopt)

vector<double> lnir

monochromatic NIR luminosity (see SED::lnir)

vector<double> mag0

z=0 reference-band magnitude (see SED::mag0)

vector<double> smag0

10^(0.4*mag0): scale used by the log-free absolute-magnitude prior test in onesource::fit

vector<double> ebv

E(B-V) extinction value.

vector<double> lgage

log age (yr)

vector<double> lgmass

log stellar mass

vector<double> lgsfr

log SFR

vector<double> lgssfr

log specific SFR

vector<double> ltir

IR luminosity (see SED::ltir)

vector<array<double, 3>> colRF

rest-frame colors of each template