lephare.mag_gal

Classes

MagGal

The specific arguments to the MagGal class are

Module Contents

class MagGal(config_file=None, config_keymap=None, **kwargs)[source]

Bases: lephare.runner.Runner

The 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

VERBOSE:

add verbosity

update_help()[source]

Add the specific MagGal help

run(**kwargs)[source]

Compute the model magnitudes across the redshift grid.

Return type:

None