lephare.zphota
Classes
The specific arguments to the Zphota class are |
Module Contents
- class Zphota(config_file='', config_keymap=None, **kwargs)[source]
Bases:
lephare.runner.RunnerThe specific arguments to the Zphota class are
- VERBOSE:
add verbosity
- CAT_IN:
input catalog
- INP_TYPE:
F if Fluxes, M if magnitudes
- CAT_MAG:
AB or VEGA magnitude system of the input catalog (default AB)
- CAT_FMT:
MEME or MMEE, to precise the order of value and error columns
- CAT_LINES:
min,max range to subselect entries in the input catalog
- ZPHOTLIB:
comma-separated list of template magnitude libraries without the suffix (to be found in $LEPHAREWORK/lib_mag)
- ADD_EMLINES:
range of galaxy models for which considering emission lines contribution
- EBV_RANGE:
E(B-V) min and max allowed in the library. Applied to all attenuation laws
- Z_RANGE:
Z min and max allowed in the GALAXY library
- PARA_OUT:
file listing the output keywords to be written on file (one keyword per line)
- CAT_OUT:
output file name
- CAT_TYPE:
LONG or SHORT, depending on whether zspec, context, and other columns are present after the magnitudes/fluxes and error columns
- ERR_SCALE:
values to be added in quadrature to the errors in magnitude in each band, values separated by a comma
- ERR_FACTOR:
values to scale the errors in flux (a single value for all bands)
- GLB_CONTEXT:
global context to define the bands to be used in the fit
- FORB_CONTEXT:
forbidden context to define the bands to be discarded from the fit
- MAG_ABS:
min,max absolute magnitudes allowed for GAL type
- MAG_ABS_QSO:
min,max absolute magnitudes allowed for QSO/AGN type
- MAG_REF:
reference band to compute absolute magnitudes
- NZ_PRIOR:
band to be used in the n(z) prior; a second band can be given in case the first one is absent in some objects
- ZFIX:
fix z to a known redshift, in case one is interested in inferring the best template
- Z_INTERP:
perform quadratic interpolation to refine best redshift solution
- Z_METHOD:
which redshift solution, between best and pdf median, to use for physical parameter computation
- DZ_WIN:
Window search for second peak
- MIN_THRES:
lower threshold for second peak
- SPEC_OUT:
output the best spectrum of each object
- FIR_LIB:
dedicated far infrared synthetic magnitudes files
- FIR_LMIN:
minimum value for lambda_mean/(1+z) (in microns) in FIR analysis
- FIR_CONT:
context for the FIR bands to be used in the FIR fit
- FIR_SCALE:
context for the FIR scale determination in the FIR fit
- FIR_FREESCALE:
consider FIR scaling free
- FIR_SUBSTELLAR:
substract the stellar component to the observed IR fluxes
- MABS_METHOD:
method to compute absolute magnitudes (e.g. 1 use the most appropriated filter for observed flux, 3 the model)
- MABS_CONTEXT:
context to decide which band can be used to derive the absolute magnitude in method 1
- MABS_REF:
fixed filter used to derived all abs mag (if MABS_METHOD=2)
- MABS_FILT:
list of fixed filters chosen to derive abs mag in all bands depending on the redshift bins defined in MABS_ZBIN (if MABS_METHOD=4)
- MABS_ZBIN:
list of Redshift bins associated with MABS_FILT
- RF_COLORS:
list of 4 band indexes out of which to compute the probability distribution of the 2 corresponding rest frame colors (default=-1 which means to not compute these color distributions)
- M_REF:
band index for which to compute the rest frame absolute magnitude probability distribution
- APPLY_SYSSHIFT:
list of values (equal to the number of bands) to add to the predicted magnitudes as zero-points (substracted to the observed magnitudes)
- AUTO_ADAPT:
perform zero point auto adaptation based on the provided true redshifts
- ADAPT_BAND:
band number for which to check magnitude range for auto adaptation
- ADAPT_LIM:
min,max magnitude range for auto adaptation
- ADAPT_ZBIN:
min,max value of the true redshifts used for auto adaptation of the zero points
- PDZ_OUT:
output the PDF of each object
- PDZ_TYPE:
list of the PDFs to output if PDZ_OUT is set
- ADDITIONAL_MAG:
file basename (in $LEPHAREWORK/filt/) for the set of additional filters for which to compute magnitudes. Thus a pass to the LePHARE filter stage needs to have occurred on these filters.
- LIMITS_ZBIN:
used to compute z_max. Redshifts used to split in N bins, separated by a coma. Need N+1 values (start with the minimum redshift).
- LIMITS_MAPP_REF:
used to compute z_max. Band in which the absolute magnitude is computed
- LIMITS_MAPP_SEL:
used to compute z_max. Give the selection band in each redshift bin. Need 1 or N values.
- LIMITS_MAPP_CUT:
used to compute z_max. Apparent mag selection used in each redshift bin. Need 1 or N values
- CHI2_OUT
Flag to output the chi2 value of each template (one file per source)
- 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.
- MW_GLOBAL_EBV:
Global E(B-V) value to apply to all templates when using the GALAMETZ method to apply the Milky Way extinction. If 0, the E(B-V) value is read from the file defined by MW_EBV_FILE.
- MW_EBV_FILE:
File containing the E(B-V) values to apply to each template when using the GALAMETZ method to apply the Milky Way extinction. The file should have two columns: source ID and E(B-V) value. Should be absolute path.