zphot.para 10.2 KB
Newer Older
Zhang Xin's avatar
Zhang Xin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
##############################################################################
#                CREATION OF LIBRARIES FROM SEDs List                        #
# $LEPHAREDIR/source/sedtolib -t (S/Q/G) -c $LEPHAREDIR/config/zphot.para    #
# help : $LEPHAREDIR/source/sedtolib -h (or -help)                           #
##############################################################################
#
#------      STELLAR LIBRARY (ASCII SEDs)
STAR_SED	$LEPHAREDIR/sed/STAR/STAR_MOD.list	# STAR list (full path)
STAR_FSCALE	3.432E-09				# Arbitrary Flux Scale 
STAR_LIB	LIB_STAR				# Bin. STAR LIBRARY ->
							# $LEPHAREWORK/lib_bin
#
#------      QSO LIBRARY (ASCII SEDs) 
QSO_SED		$LEPHAREDIR/sed/QSO/QSO_MOD.list        # QSO list (full path)
QSO_FSCALE	1					# Arbitrary Flux Scale 
QSO_LIB		LIB_QSO					# Bin. QSO LIBRARY ->
							# $LEPHAREWORK/lib_bin
#
#------      GALAXY LIBRARY (ASCII or BINARY SEDs) 
GAL_SED	   $LEPHAREDIR/sed/GAL/CWW_KINNEY/CWW_MOD.list  # GAL list (full path)
GAL_FSCALE	1.					# Arbitrary Flux Scale
GAL_LIB		LIB_CWW  				# Bin. GAL LIBRARY ->
							# $LEPHAREWORK/lib_bin
#SEL_AGE   $LEPHAREDIR/sed/GAL/HYPERZ/AGE_GISSEL_ALL.dat # Age list(full path)
							# (def=NONE)	
AGE_RANGE  0.,13.e9                                     # Age Min-Max in yr
#
#############################################################################
#                           FILTERS                                         #
#  $LEPHAREDIR/source/filter  -c $LEPHAREDIR/config/zphot.para              #
#  help: $LEPHAREDIR/source/filter  -h (or -help)                           #
#############################################################################
#  Filter number and context 
#   f300 f450 f606 f814 J  H  K 
#   1    2    3    4    5  6  7
#   1    2    4    8   16  32 64 = 127 
#
FILTER_LIST tmp/f300.pb,tmp/f450.pb,tmp/f606.pb,tmp/f814.pb,tmp/Jbb.pb,tmp/H.pb,tmp/K.pb
					# (in $LEPHAREDIR/filt/*)
TRANS_TYPE	0			# TRANSMISSION TYPE
                                        # 0[-def]: Energy, 1: Nb of photons
FILTER_CALIB    0                       # 0[-def]:  fnu=ctt 
                                        # 1      :  nu.fnu=ctt 
                                        # 2      :  fnu=nu 
                                        # 3      :  fnu=Black Body @ T=10000K
                                        # 4      :  for MIPS (leff with nu fnu=ctt and flux with BB @ 10000K  
FILTER_FILE	HDF.filt		# output name of filter's file  ->
                                        # $LEPHAREWORK/filt/
#
############################################################################
#                 THEORETICAL  MAGNITUDES                                  #
# $LEPHAREDIR/source/mag_star -c  $LEPHAREDIR/config/zphot.para (star only)#
# help: $LEPHAREDIR/source/mag_star -h (or -help)                          #
# $LEPHAREDIR/source/mag_gal  -t (Q or G) -c $LEPHAREDIR/config/zphot.para #
#                                                         (for gal. & QSO) #
# help: $LEPHAREDIR/source/mag_gal  -h (or -help)                          #
############################################################################
#
#-------     From STELLAR LIBRARY   
STAR_LIB_IN	LIB_STAR      # Input  STELLAR LIBRARY in $LEPHAREWORK/lib_bin/
STAR_LIB_OUT	STAR_HDF      # Output STELLAR MAGN    -> $LEPHAREWORK/lib_mag/
#
#-------     From QSO     LIBRARY   
QSO_LIB_IN	LIB_QSO	      # Input  QSO LIBRARY  in $LEPHAREWORK/lib_bin/
QSO_LIB_OUT	QSO_HDF      # Output QSO MAGN     -> $LEPHAREWORK/lib_mag/
#
#-------     From GALAXY  LIBRARY  
GAL_LIB_IN	LIB_CWW	      # Input  GAL LIBRARY  in $LEPHAREWORK/lib_bin/
GAL_LIB_OUT	CWW_HDF      # Output GAL LIBRARY  -> $LEPHAREWORK/lib_mag/ 
#
#-------   MAG + Z_STEP + EXTINCTION + COSMOLOGY 
MAGTYPE         AB		     # Magnitude type (AB or VEGA)
Z_STEP 		0.04,6.,0.1 	     # dz, zmax, dzsup(if zmax>6) 
COSMOLOGY	70,0.3,0.7	     # H0,om0,lbd0    (if lb0>0->om0+lbd0=1)
MOD_EXTINC 	0,0		     # model range for extinction 
EXTINC_LAW	calzetti.dat	     # ext. law (in  $LEPHAREDIR/ext/*)
EB_V            0.,0.05,0.1,0.2,0.3  # E(B-V) (<50 values)
EM_LINES        NO  
# Z_FORM 	8,7,6,5,4,3 	     # Zformation for each SED in GAL_LIB_IN
#
#-------   ASCII OUTPUT FILES OPTION
LIB_ASCII       NO		     # Writes output in ASCII
                                     # in working directory
#
############################################################################
#              PHOTOMETRIC REDSHIFTS                                       #
# $LEPHAREDIR/source/zphot -c $LEPHAREDIR/config/zphot.para                #
# help: $LEPHAREDIR/source/zphot -h (or -help)                             #
############################################################################ 
#  
#
#
#-------    Input Catalog Informations   
CAT_IN       $LEPHAREDIR/test/hdfn_lanzetta.in  # Input catalog  (full path) 
INP_TYPE     F		          # Input type      (F:Flux or M:MAG)
CAT_MAG      AB                   # Input Magnitude (AB or VEGA)
CAT_FMT      MEME  		  # MEME: (Mag,Err)i  
  		                  # MMEE: (Mag)i,(Err)i  
CAT_LINES    1,100000             #  MIN and MAX RANGE of ROWS used in input cat [def:-99,-99]
CAT_TYPE     LONG	          # Input Format    (LONG,SHORT-def)
CAT_OUT	     $LEPHAREDIR/test/zphot.out	# Output catalog (full path) 
PARA_OUT     $LEPHAREDIR/config/zphot_output.para  # Ouput parameter (full path)
#
BD_SCALE     0		          # Bands used for scaling 
			          # (Sum 2^n; n=0->nbd-1, 0[-def]:all bands)
GLB_CONTEXT  -1		          # Overwrite Context (Sum 2^n; n=0->nbd-1,
                                  # 0       : all bands used,
                                  # -1[-def]: used context per object 
# FORB_CONTEXT -1                   # context for forbitten bands 
# ERR_SCALE  0.03,0.02,0.02,0.02,0.04,0.04,0.04  # errors per band added in quadrature
ERR_FACTOR  1.5                    # error scaling factor 1.0 [-def] 
#
#-------    Theoretical libraries  
ZPHOTLIB    CWW_HDF,STAR_HDF,QSO_HDF    # Library used for Chi2 (max:3)
ADD_EMLINES  NO 
#
########    PHOTOMETRIC REDSHIFTS OPTIONS      ###########
# FIR LIBRARY 
FIR_LIB         NONE
FIR_LMIN         7.0           # Lambda Min (micron) for FIR analysis 
FIR_CONT        -1
FIR_SCALE       -1
FIR_FREESCALE    YES             # ALLOW FOR FREE SCALING 
FIR_SUBSTELLAR   NO
# PHYSICAL LIBRARY with Stochastic models from  BC07    
PHYS_LIB      NONE  
PHYS_CONT    -1
PHYS_SCALE   -1
PHYS_NMAX     100000  
#
#-------     Priors  
# MASS_SCALE	6.,16.		 # Lg(Scaling) min,max [0,0-def]
MAG_ABS 	-10.,-26.	 # Mabs_min , Mabs_max [0,0-def]
MAG_REF 	4		 # Reference number for band used by Mag_abs
# ZFORM_MIN	5,5,5,5,5,5,3,1	 # Min. Zformation per SED -> Age constraint
Z_RANGE        0.,99.99          # Z min-max used for the Galaxy library 
EBV_RANGE      0,9               # E(B-V) MIN-MAX RANGE of E(B-V) used  
# NZ_PRIOR      4,2,4                # I Band for prior on N(z)
#                          
#-------     Fixed Z   (need format LONG for input Cat)
ZFIX		NO		 # fixed z and search best model [YES,NO-def]
#
#-------     Parabolic interpolation for Zbest  
Z_INTERP	YES		 # redshift interpolation [YES,NO-def]
#
#-------  Analysis of normalized ML(exp-(0.5*Chi^2)) curve 
#-------  Secondary peak analysis 
DZ_WIN          0.5              # Window search for 2nd peaks [0->5;0.25-def]
MIN_THRES       0.1              # Lower threshold for 2nd peaks[0->1; 0.1-def]
#
#-------  Probability (in %) per redshift intervals
# PROB_INTZ     0,0.5,0.5,1.,1.,1.5     # even number 
#
#########    ABSOLUTE MAGNITUDES COMPUTATION   ###########
#
MABS_METHOD	1		 # 0[-def] : obs->Ref
                                 # 1 : best  obs->Ref
                                 # 2 : fixed obs->Ref
                                 # 3 : mag from best SED
                                 # 4 : Zbin
MABS_CONTEXT    -1               # CONTEXT for Band used for MABS 

MABS_REF	4		 # 0[-def]: filter obs chosen for Mabs :
				 # ONLY USED IF MABS_METHOD=2
MABS_FILT       1,2,3,4   	 # Chosen filters per redshift bin (MABS_ZBIN)
				 # ONLY USED IF MABS_METHOD=4 
MABS_ZBIN       0,0.5,1,1.5,2,3,3.5,4 # Redshift bins (even number) 
				 # ONLY USED IF MABS_METHOD=4
#########   OUTPUT SPECTRA                     ###########
#
SPEC_OUT	NO	 	 # spectrum for each object?  [YES,NO-def]
CHI2_OUT        NO               # output file with all values : z,mod,chi2,E(B-V),... 
                                 # BE CAREFUL can take a lot of space !!              
#########  OUTPUT PDZ ANALYSIS  
PDZ_OUT         NONE             # pdz output file name [def-NONE]
                                 # add automatically PDZ_OUT[.pdz/.mabsx/.mod/.zph] 
PDZ_MABS_FILT   2,10,14           # MABS for REF FILTERS to be extracted  
# 
#########   FAST MODE : color-space reduction        #####
#
FAST_MODE	NO 		 # Fast computation                [NO-def] 
COL_NUM		3 		 # Number of colors used           [3-def]
COL_SIGMA	3		 # Enlarge of the obs. color-errors[3-def]
COL_SEL		AND		 # Combination between used colors [AND/OR-def]
#
#########   MAGNITUDE SHIFTS applied to libraries   ######
#
# APPLY_SYSSHIFT  0.             # Apply systematic shifts in each band
                                 # used only if number of shifts matches
                                 # with number of filters in the library    
#
#########   ADAPTIVE METHOD using Z spectro sample     ###
#
AUTO_ADAPT	NO		 # Adapting method with spectro [NO-def]
ADAPT_BAND 	4,2,4		 # Reference band, band1, band2 for color 
ADAPT_LIM       18,22.0		 # Mag limits for spectro in Ref band [18,21.5-def]
ADAPT_POLY	1		 # Number of coef in  polynom (max=4) [1-def]
ADAPT_METH      1		 # Fit as a function of
				 # 1 : Color Model  [1-def]
                                 # 2 : Redshift
	 	                 # 3 : Models
ADAPT_CONTEXT  -1                # Context for bands used for training
                                 # -1[-def] used context per object
ADAPT_ZBIN     0.01,6            # Redshift's interval used for training
                                 # [0.001,6-Def]
ADAPT_MODBIN   1,1000            # Model's interval    used for training
                                 # [1,1000-Def]
ERROR_ADAPT     NO               # [YES,NO-def]
                                 # Add error in quadrature according to
                                 # the difference between observed
                                 # and predicted apparent magnitudes 
#