lephare.mag_gal
Classes
The specific arguments to the MagGal class are |
Module Contents
- class MagGal(config_file='', config_keymap=None, **kwargs)[source]
Bases:
lephare.runner.RunnerThe specific arguments to the MagGal class are
- typ:
define what kind of objects these SED belong to : GAL, QSO, or STAR
- VERBOSE:
increase onscreen verbosity
- COSMOLOGY:
fiducial h0, Omega_m0, and LambdaO used to define a flat LCDM cosmology used for absolute magnitudes evaluations
- FILTER_FILE:
filter file provided by filter script or the Filter class
- MAGTYPE:
AB or VEGA system
- EXTINC_LAW:
list of extinction files used for extinction correction (if relative, in $LEPHAREDIR/ext/)
- MOD_EXTINC:
list of SED template ranges for which each extinction law is going to be applied
- EB_V:
E(B-V) grid of values to be applied to the SEDs (comma separated)
- Z_STEP:
dz, zmin, zmax defining the redshift grid
- GAL_LIB_IN:
input SED library file, as output by sedtolib script or SEDtolib class (in $LEPHAREWORK/lib_bin/)
- GAL_LIB_OUT:
output file of the synthetic magnitudes (in $LEPHAREWORK/lib_mag/)
- QSO_LIB_IN, QSO_LIB_OUT, STAR_LIB_IN, STAR_LIB_OUT
same for STAR templates
- LIB_ASCII:
if set to YES, also provide the output in ascii
- EM_LINES:
[NO/EMP_UV/EMP_SFR/PHYS] choice of prescription for emission line computation
- EM_DISPERSION:
possible rescaling values for the emission lines
- ADD_DUSTEM:
add the dust emission in templates when missing
- EXT_MW_CURVE:
Extinction curve for the Milky Way extinction. Should be in $LEPHAREDIR/ext if relative.
- EXT_ATMOS_CURVE:
Extinction curve for the atmospheric extinction. Should be in $LEPHAREDIR/ext if relative.
- APPLY_MW_EXTINCTION:
Method to apply the Milky Way extinction to the templates. If CLASSIC, the extinction is applied using the E(B-V) value and the extinction curve. If GALAMETZ, the extinction is applied using the e(b-v) value(s) and the extinction curve, but also taking into account the SED dependence of the extinction (see Galametz et al. 2013). In this case, the MW_REFERENCE_MODEL keyword must be set to define the reference SED for which the E(B-V) value is defined.
- MW_REFERENCE_MODEL:
Reference SED for which the E(B-V) value is defined when using the GALAMETZ method to apply the Milky Way extinction. Should be in $LEPHAREDIR if relative.