Changeset 10723
- Timestamp:
- Dec 14, 2006, 8:11:35 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
-
ippScripts/scripts/detrend_process_imfile.pl (modified) (1 diff)
-
ippTasks/detrend.norm.pro (modified) (12 diffs)
-
ippTasks/detrend.process.pro (modified) (8 diffs)
-
ippTasks/detrend.reject.pro (modified) (5 diffs)
-
ippTasks/detrend.resid.pro (modified) (8 diffs)
-
ippTasks/detrend.stack.pro (modified) (4 diffs)
-
ippTasks/pantasks.pro (modified) (4 diffs)
-
ippTasks/phase0.pro (modified) (6 diffs)
-
ippTasks/testscript.pro (modified) (1 diff)
-
ippconfig/ipprc.config (modified) (2 diffs)
-
ippconfig/isp/format.config (modified) (1 diff)
-
ippconfig/megacam_detrended/psphot.config (modified) (5 diffs)
-
ippconfig/recipes/psphot.config (modified) (1 diff)
-
ippconfig/simple/camera.config (modified) (4 diffs)
-
ippconfig/simple/format.config (modified) (4 diffs)
-
ippconfig/simple/psphot.config (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process_imfile.pl
r10700 r10723 40 40 and defined $camera; 41 41 42 # XXX this exits with status = 0 on failure 42 43 $ipprc->define_camera($camera); 43 44 -
trunk/ippTasks/detrend.norm.pro
r10692 r10723 54 54 55 55 task.exec 56 command dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20} 56 # command dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20} 57 command dettool -tonormalizedstat -simple 57 58 end 58 59 … … 86 87 # default exit status 87 88 task.exit default 88 if ($VERBOSE) 89 echo "detrend.norm: failure" 90 end 91 end 92 93 # operation times out? 94 task.exit timeout 95 if ($VERBOSE) 96 echo "detrend.norm: timeout" 97 end 89 showcommand failure 90 end 91 92 # operation times out? 93 task.exit timeout 94 showcommand timeout 98 95 end 99 96 end … … 153 150 # default exit status 154 151 task.exit default 155 if ($VERBOSE) 156 echo "failure detrend_norm_calc.pl $options:0" 157 end 152 showcommand failure 158 153 queuepush DetrendNormStat -replace -key 1:3 "FAIL $options:0" 159 154 $DetrendNormStatFail ++ … … 162 157 # operation times out? 163 158 task.exit timeout 164 if ($VERBOSE) 165 echo "failure detrend_norm_calc.pl $options:0" 166 end 159 showcommand timeout 167 160 queuepush DetrendNormStat -replace -key 1:3 "TIMEOUT $options:0" 168 161 $DetrendNormStatFail ++ … … 184 177 185 178 task.exec 186 command dettool -tonormalize -simple -limit {$DetrendNormFail + 20} 179 # command dettool -tonormalize -simple -limit {$DetrendNormFail + 20} 180 command dettool -tonormalize -simple 187 181 end 188 182 … … 219 213 # default exit status 220 214 task.exit default 221 if ($VERBOSE) 222 echo "detrend.norm: failure" 223 end 224 end 225 226 # operation times out? 227 task.exit timeout 228 if ($VERBOSE) 229 echo "detrend.norm: timeout" 230 end 215 showcommand failure 216 end 217 218 # operation times out? 219 task.exit timeout 220 showcommand timeout 231 221 end 232 222 end … … 288 278 # default exit status 289 279 task.exit default 290 if ($VERBOSE) 291 echo "failure detrend_norm_apply.pl $options:0" 292 end 280 showcommand failure 293 281 queuepush DetrendNorm -replace -key 4:5 "FAIL $options:0" 294 282 $DetrendNormFail ++ … … 297 285 # operation times out? 298 286 task.exit timeout 299 if ($VERBOSE) 300 echo "failure detrend_norm_apply.pl $options:0" 301 end 287 showcommand timeout 302 288 queuepush DetrendNorm -replace -key 4:5 "TIMEOUT $options:0" 303 289 $DetrendNormFail ++ … … 319 305 320 306 task.exec 321 command dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20} 307 # command dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20} 308 command dettool -tonormalizedexp -simple 322 309 end 323 310 … … 344 331 #$EXP_TYPE = $word:5 345 332 #$IMFILES = $word:6 346 queuepush DetrendNorm alizeExp -uniq -key 1:2 "NEW $DET_ID $ITER $DET_TYPE $CAMERA"333 queuepush DetrendNormExp -uniq -key 1:2 "NEW $DET_ID $ITER $DET_TYPE $CAMERA" 347 334 end 348 335 … … 354 341 # default exit status 355 342 task.exit default 356 if ($VERBOSE) 357 echo "detrend.norm: failure" 358 end 359 end 360 361 # operation times out? 362 task.exit timeout 363 if ($VERBOSE) 364 echo "detrend.norm: timeout" 365 end 343 showcommand failure 344 end 345 346 # operation times out? 347 task.exit timeout 348 showcommand timeout 366 349 end 367 350 end … … 425 408 # default exit status 426 409 task.exit default 427 if ($VERBOSE) 428 echo "failure detrend_norm_exp.pl $options:0" 429 end 410 showcommand failure 430 411 queuepush DetrendNormExp -replace -key 1:2 "FAIL $options:0" 431 $DetrendNormExpFail ++ 432 end 433 434 # operation times out? 435 task.exit timeout 436 if ($VERBOSE) 437 echo "failure detrend_norm_exp.pl $options:0" 438 end 412 $DetrendNormExpFail ++ 413 end 414 415 # operation times out? 416 task.exit timeout 417 showcommand timeout 439 418 queuepush DetrendNormExp -replace -key 1:2 "TIMEOUT $options:0" 440 $DetrendNormExpFail ++441 end 442 end 419 $DetrendNormExpFail ++ 420 end 421 end -
trunk/ippTasks/detrend.process.pro
r10692 r10723 57 57 58 58 task.exec 59 command dettool -toprocessedimfile -simple -limit {$DetrendProcessImfileFail + 20} 59 # XXX dettool needs -limit command 60 # command dettool -toprocessedimfile -simple -limit {$DetrendProcessImfileFail + 20} 61 command dettool -toprocessedimfile -simple 60 62 end 61 63 … … 91 93 # error 92 94 task.exit default 93 if ($VERBOSE) 94 echo "detrend.process: failure" 95 end 95 showcommand failure 96 96 end 97 97 98 98 # operation times out? 99 99 task.exit timeout 100 if ($VERBOSE) 101 echo "detrend.process: timeout" 102 end 100 showcommand 103 101 end 104 102 end … … 166 164 # default exit status 167 165 task.exit default 168 if ($VERBOSE) 169 echo "failure detrend_process_imfile.pl $options:0" 170 end 166 showcommand failure 171 167 queuepush DetrendProcessImfiles -replace -key 1:3:5 "FAIL $options:0" 172 168 $DetrendProcessImfileFail ++ … … 175 171 # operation times out? 176 172 task.exit timeout 177 if ($VERBOSE) 178 echo "timeout detrend_process_imfile.pl $options:0" 179 end 173 showcommand timeout 180 174 queuepush DetrendProcessImfiles -replace -key 1:3:5 "TIMEOUT $options:0" 181 175 $DetrendProcessImfileFail ++ … … 197 191 198 192 task.exec 199 command dettool -toprocessedexp -simple -limit {$DetrendProcessExpFail + 20} 193 # command dettool -toprocessedexp -simple -limit {$DetrendProcessExpFail + 20} 194 command dettool -toprocessedexp -simple 200 195 end 201 196 … … 229 224 # error 230 225 task.exit default 231 if ($VERBOSE) 232 echo "detrend.process: failure" 233 end 226 showcommand failure 234 227 end 235 228 236 229 # operation times out? 237 230 task.exit timeout 238 if ($VERBOSE) 239 echo "detrend.process: timeout" 240 end 231 showcommand timeout 241 232 end 242 233 end … … 300 291 # default exit status 301 292 task.exit default 302 if ($VERBOSE) 303 echo "failure for detrend_process_exp.pl: $options:0" 304 end 293 showcommand failure 305 294 queuepush DetrendProcessExposures -replace -key 1:2:4 "FAIL $options:0" 306 295 $DetrendProcessExpFail ++ … … 309 298 # operation times out? 310 299 task.exit timeout 311 if ($VERBOSE) 312 echo "failure for detrend_process_exp.pl: $options:0" 313 end 300 showcommand timeout 314 301 queuepush DetrendProcessExposures -replace -key 1:2:4 "TIMEOUT $options:0" 315 302 $DetrendProcessExpFail ++ -
trunk/ippTasks/detrend.reject.pro
r10692 r10723 53 53 54 54 task.exec 55 command dettool -residdetrun -simple -limit {$DetrendRejectExpFail + 20} 55 # command dettool -residdetrun -simple -limit {$DetrendRejectExpFail + 20} 56 command dettool -residdetrun -simple 56 57 end 57 58 … … 83 84 # locked list 84 85 task.exit default 85 if ($VERBOSE) 86 echo "detrend.reject: failure" 87 end 86 showcommand failure 88 87 end 89 88 90 89 # operation times out? 91 90 task.exit timeout 92 if ($VERBOSE) 93 echo "detrend.reject: timeout" 94 end 91 showcommand failure 95 92 end 96 93 end … … 123 120 $ITER = $word:1 124 121 $DET_TYPE = $word:2 125 $CAMERA = $word:3 122 $MODE = $word:3 123 $CAMERA = $word:4 126 124 127 125 # I'd like to add CAMERA to the log file... … … 151 149 # default exit status 152 150 task.exit default 153 if ($VERBOSE) 154 echo "failure detrend_reject_exp.pl $options:0" 155 end 151 showcommand failure 156 152 queuepush DetrendRejectExp -replace -key 1:2 "FAIL $options:0" 157 153 $DetrendRejectExpFail ++ … … 160 156 # operation times out? 161 157 task.exit timeout 162 if ($VERBOSE) 163 echo "failure detrend_reject_exp.pl $options:0" 164 end 158 showcommand failure 165 159 queuepush DetrendRejectExp -replace -key 1:2 "TIMEOUT $options:0" 166 160 $DetrendRejectExpFail ++ -
trunk/ippTasks/detrend.resid.pro
r10692 r10723 58 58 59 59 task.exec 60 command dettool -toresidimfile -simple -limit {$DetrendResidImfileFail + 20} 60 # command dettool -toresidimfile -simple -limit {$DetrendResidImfileFail + 20} 61 command dettool -toresidimfile -simple 61 62 end 62 63 … … 97 98 # default exit status 98 99 task.exit default 99 if ($VERBOSE) 100 echo "detrend.resid: failure" 101 end 100 showcommand failure 102 101 end 103 102 104 103 # operation times out? 105 104 task.exit timeout 106 if ($VERBOSE) 107 echo "detrend.resid: timeout" 108 end 105 showcommand timeout 109 106 end 110 107 end … … 173 170 # default exit status 174 171 task.exit default 175 if ($VERBOSE) 176 echo "failure detrend_resid.pl $options:0" 177 end 172 showcommand failure 178 173 queuepush DetrendResidImfiles -replace -key 1:2:5:6 "FAIL $options:0" 179 174 $DetrendResidImfileFail ++ … … 182 177 # operation times out? 183 178 task.exit timeout 184 if ($VERBOSE) 185 echo "failure detrend_resid.pl $options:0" 186 end 179 showcommand timeout 187 180 queuepush DetrendResidImfiles -replace -key 1:2:6:6 "TIMEOUT $options:0" 188 181 $DetrendResidImfileFail ++ … … 204 197 205 198 task.exec 206 command dettool -toresidexp -simple -limit {$DetrendResidExpFail + 20} 199 # command dettool -toresidexp -simple -limit {$DetrendResidExpFail + 20} 200 command dettool -toresidexp -simple 207 201 end 208 202 … … 239 233 # default exit status 240 234 task.exit default 241 if ($VERBOSE) 242 echo "detrend.residexp: failure" 243 end 235 showcommand failure 244 236 end 245 237 246 238 # operation times out? 247 239 task.exit timeout 248 if ($VERBOSE) 249 echo "detrend.residexp: timeout" 250 end 240 showcommand timeout 251 241 end 252 242 end … … 315 305 # default exit status 316 306 task.exit default 317 if ($VERBOSE) 318 echo "failure for detrend_reject_imfile.pl: $options:0" 319 end 307 showcommand failure 320 308 queuepush DetrendResidExposures -replace -key 1:2:5 "FAIL $options:0" 321 309 $DetrendResidExpFail ++ … … 324 312 # operation times out? 325 313 task.exit timeout 326 if ($VERBOSE) 327 echo "failure for detrend_reject_imfile.pl: $options:0" 328 end 314 showcommand timeout 329 315 queuepush DetrendResidExposures -replace -key 1:2:5 "TIMEOUT $options:0" 330 316 $DetrendResidExpFail ++ -
trunk/ippTasks/detrend.stack.pro
r10692 r10723 53 53 54 54 task.exec 55 command dettool -tostacked -simple -limit {$DetrendStackClassFail + 20} 55 # command dettool -tostacked -simple -limit {$DetrendStackClassFail + 20} 56 command dettool -tostacked -simple 56 57 end 57 58 … … 83 84 # locked list 84 85 task.exit default 85 if ($VERBOSE) 86 echo "detrend.stack: failure" 87 end 86 showcommand failure 88 87 end 89 88 90 89 # operation times out? 91 90 task.exit timeout 92 if ($VERBOSE) 93 echo "detrend.stack: timeout" 94 end 91 showcommand timeout 95 92 end 96 93 end … … 153 150 # default exit status 154 151 task.exit default 155 if ($VERBOSE) 156 echo "failure detrend_stack.pl $options:0" 157 end 152 showcommand failure 158 153 queuepush DetrendStackClass -replace -key 1:2:4 "FAIL $options:0" 159 154 $DetrendStackClassFail ++ … … 162 157 # operation times out? 163 158 task.exit timeout 164 if ($VERBOSE) 165 echo "failure detrend_stack.pl $options:0" 166 end 159 showcommand timeout 167 160 queuepush DetrendStackClass -replace -key 1:2:4 "TIMEOUT $options:0" 168 161 $DetrendStackClassFail ++ -
trunk/ippTasks/pantasks.pro
r10691 r10723 7 7 # $scripts = $HOME/src/pantasks/ipp/ippTasks 8 8 $scripts = . 9 $LOGDIR = `ipp_datapath.pl path://ESSENCE` 9 # $LOGDIR = `ipp_datapath.pl path://ESSENCE` 10 $LOGDIR = `ipp_datapath.pl path://SIMTEST` 11 10 12 $LOGDIR = $LOGDIR/logs 11 13 exec mkdir -p $LOGDIR … … 19 21 if ($parallel) 20 22 controller exit true 21 controller host add sn2 22 controller host add sn3 23 controller host add sn4 24 controller host add sn5 25 # controller host add sn6 23 controller host add alala 24 # controller host add sn2 25 # controller host add sn3 26 # controller host add sn4 27 # controller host add sn5 28 # controller host add sn6 26 29 # sn7 serves the disk 27 30 end … … 31 34 32 35 macro load.tasks 33 input $scripts/phase0.pro36 # input $scripts/phase0.pro 34 37 # input $scripts/phase2.pro 35 38 # input $scripts/phase3.pro 36 #input $scripts/detrend.process.pro37 #input $scripts/detrend.stack.pro38 #input $scripts/detrend.norm.pro39 #input $scripts/detrend.resid.pro40 #input $scripts/detrend.reject.pro39 input $scripts/detrend.process.pro 40 input $scripts/detrend.stack.pro 41 input $scripts/detrend.norm.pro 42 input $scripts/detrend.resid.pro 43 input $scripts/detrend.reject.pro 41 44 end 42 45 … … 108 111 exec rm -f ../object/*.p3.*.jpg 109 112 end 113 114 macro showcommand 115 local n 116 117 if ($VERBOSE) 118 $command = $taskarg:0 119 for n 1 $taskarg:n 120 $command = $command $taskarg:$n 121 end 122 if ($0 == 2) 123 echo "$1 for: $command" 124 else 125 echo "command: $command" 126 end 127 end 128 end -
trunk/ippTasks/phase0.pro
r10692 r10723 79 79 # locked list 80 80 task.exit default 81 if ($VERBOSE) 82 echo "phase0 pending imfiles: failure" 83 end 84 end 85 86 # operation times out? 87 task.exit timeout 88 if ($VERBOSE) 89 echo "phase0 pending imfiles: timeout" 90 end 81 showcommand 82 end 83 84 # operation times out? 85 task.exit timeout 86 showcommand 91 87 end 92 88 end … … 153 149 # default exit status 154 150 task.exit default 155 if ($VERBOSE) 156 echo "failure for phase0imfile.pl: $options:0" 157 end 151 showcommand 158 152 queuepush Phase0Imfiles -replace -key 1 "FAIL $options:0" 159 153 $Phase0ImfileFail ++ … … 162 156 # operation times out? 163 157 task.exit timeout 164 if ($VERBOSE) 165 echo "timeout for phase0imfile.pl: $options:0" 166 end 158 showcommand 167 159 queuepush Phase0Imfiles -replace -key 1 "TIMEOUT $options:0" 168 160 $Phase0ImfileFail ++ … … 222 214 # default exit status 223 215 task.exit default 224 if ($VERBOSE) 225 echo "phase0 pending exp: failure" 226 end 227 end 228 229 # operation times out? 230 task.exit timeout 231 if ($VERBOSE) 232 echo "phase0 pending exp: timeout" 233 end 216 showcommand 217 end 218 219 # operation times out? 220 task.exit timeout 221 showcommand 234 222 end 235 223 end … … 293 281 # default exit status 294 282 task.exit default 295 if ($VERBOSE) 296 echo "failure for phase0exp.pl: $options:0" 297 end 283 showcommand 298 284 queuepush Phase0Exposures -replace -key 1 "FAIL $options:0" 299 285 $Phase0ExpFail … … 302 288 # operation times out? 303 289 task.exit timeout 304 if ($VERBOSE) 305 echo "failure for phase0exp.pl: $options:0" 306 end 290 showcommand 307 291 queuepush Phase0Exposures -replace -key 1 "TIMEOUT $options:0" 308 292 $Phase0ExpFail -
trunk/ippTasks/testscript.pro
r10673 r10723 7 7 8 8 status 9 host add sn2 10 host add sn3 11 host add sn4 12 host add sn5 9 host add alala 13 10 14 11 status -
trunk/ippconfig/ipprc.config
r10620 r10723 8 8 PAP_MC STR /data/alala/price/megacam/ 9 9 ESSENCE STR /data/sn7/ipp/ 10 ISPTEST STR /data/alala/eugene/swtests/pantasks/isp 11 SIMTEST STR /data/alala/eugene/swtests/pantasks/sim 10 12 END 11 13 … … 58 60 PPSTATS_PHASE0 STR recipes/ppStats_phase0.config # Image statistics for Phase 0 59 61 END 60 -
trunk/ippconfig/isp/format.config
r9512 r10723 33 33 # How to translate PS concepts into FITS headers 34 34 TRANSLATION METADATA 35 FPA.TELESCOPE STR TELESCOP 36 FPA.INSTRUMENT STR INSTRUME 35 37 FPA.OBSTYPE STR OBSTYPE 36 38 FPA.OBJECT STR OBSTYPE -
trunk/ippconfig/megacam_detrended/psphot.config
r9324 r10723 3 3 #SAVE.BACKGND BOOL TRUE 4 4 #SAVE.BACKSUB BOOL TRUE 5 #SAVE.RESID BOOL TRUE5 SAVE.RESID BOOL TRUE 6 6 #SAVE.PSF BOOL TRUE 7 7 #LOAD.PSF BOOL FALSE 8 9 # image noise parameters 10 RDNOISE STR HD:RDNOISE # read-noise in electrons 11 GAIN STR HD:GAIN # electrons / DN 12 ZERO_POINT F32 25.000 # zero point used by DVO 8 SAVE.PLOTS BOOL TRUE 13 9 14 10 # background model : … … 17 13 18 14 # masking parameters 19 XMIN F32 + 50 # minimum valid x-coord20 XMAX F32 - 50 # maximum valid x-coord21 YMIN F32 + 50 # minimum valid y-coord22 YMAX F32 - 50 # maximum valid y-coord15 XMIN F32 +0 # minimum valid x-coord 16 XMAX F32 -0 # maximum valid x-coord 17 YMIN F32 +0 # minimum valid y-coord 18 YMAX F32 -0 # maximum valid y-coord 23 19 SATURATION F32 50000 # saturation level on this chip 24 MIN_VALID_PIXEL F32 1 # saturation level on this chip25 20 26 21 # image statistics parameters 27 IMSTATS_NPIX S32 1000 # number of pixels to use for sky estimate boxes: 22 IMSTATS_NPIX S32 10000 # number of pixels to use for sky estimate boxes: 23 SKY_HISTOGRAM_BINS F32 1 24 SKY_STAT STR FITTED_MEAN_V2 # statistic used to measure background 28 25 29 26 # peak finding 30 PEAKS_SMOOTH_SIGMA F32 1.0 # smoothing kernel sigma in pixels31 PEAKS_SMOOTH_NSIGMA F32 3.0 # smoothing kernel width in sigmas32 27 PEAKS_NSIGMA_LIMIT F32 25.0 # peak significance threshold 33 28 … … 39 34 PSF_MAX_NSTARS S32 300 # limit number of stars used for PSF model 40 35 41 # PSF model parameters : choose the PSF model 42 # list as many PSF_MODEL options as desired 43 # PSF_MODEL MULTI 36 # PSF model options 44 37 PSF_MODEL STR PS_MODEL_QGAUSS 45 # PSF_MODEL STR PS_MODEL_GAUSS46 # PSF_MODEL STR PS_MODEL_PGAUSS47 # PSF_MODEL STR PS_MODEL_TGAUSS ## not well tested, not very successful48 49 MOMENTS_SCALE F32 0.150 MOMENTS_SN_MIN F32 30.051 MOMENTS_SX_MAX F32 3.052 MOMENTS_SY_MAX F32 3.053 MOMENTS_AR_MAX F32 1.5 # maximum axial ratio: 1 / AR < (sx / sy) < AR54 38 55 39 PSF_FIT_RADIUS F32 15.0 # fitting radius for test PSF model … … 58 42 # PSF-like source model parameters 59 43 PSF_FIT_NSIGMA F32 1.0 # significance for pixel included in fit 60 PSF_FIT_PADDING F32 5.0 # extra annulus to use for fit44 PSF_FIT_PADDING F32 2.0 # extra annulus to use for fit 61 45 PSF_SHAPE_NSIGMA F32 3.0 # max significance for shape variation 62 46 PSF_MIN_SN F32 2.0 # reject objects below this significance … … 74 58 DEBLEND_SKY_NSIGMA F32 10.0 75 59 76 # APTREND STR CONSTANT 77 APTREND STR ALL 78 # APTREND STR SKYSAT_XY_LIN 79 # APTREND STR SKYSAT 80 # APTREND STR SKYBIAS 60 APTREND STR CONSTANT 81 61 FULL_FIT_SN_LIM F32 200.0 82 62 AP_MIN_SN F32 50.0 83 63 84 # test options85 # BREAK_POINT STR PEAKS86 # PEAKS_OUTPUT_FILE STR peaks.dat87 # MOMENTS_OUTPUT_FILE STR moments.dat88 # ANALYSIS_REGION STR [100:2000,100:4500]89 # POISSON_ERRORS BOOL TRUE90 # SKY_BIAS F32 0.0 -
trunk/ippconfig/recipes/psphot.config
r10456 r10723 26 26 27 27 # masking parameters (XXX EAM : rework this to use psRegion like ANALYSIS_REGION) 28 XMIN F32 2# minimum valid x-coord29 XMAX F32 -2# maximum valid x-coord30 YMIN F32 2# minimum valid y-coord31 YMAX F32 -2# maximum valid y-coord32 SATURATION F32 50000 # saturation level on this chip28 XMIN F32 0 # minimum valid x-coord 29 XMAX F32 0 # maximum valid x-coord 30 YMIN F32 0 # minimum valid y-coord 31 YMAX F32 0 # maximum valid y-coord 32 SATURATION F32 64000 # saturation level on this chip 33 33 34 34 # peak finding -
trunk/ippconfig/simple/camera.config
r10461 r10723 6 6 END 7 7 8 9 8 # Description of camera --- all the chips and the cells that comprise them 10 9 FPA METADATA … … 12 11 END 13 12 13 # move this elsewhere? we need a lookup table to go from filter ID to abstract name 14 FILTER.ID METADATA 15 Test.V STR V 16 Test.B STR B 17 END 18 14 19 # Recipe options 15 20 RECIPES METADATA 16 # PHASE2 STR simple/phase2.config # Phase 2 recipe details 17 PSPHOT STR simple/psphot.config # psphot details 18 PSPHOT_ALT STR simple/psphot_alt.config # psphot details 19 # PSASTRO STR simple/psastro.config # psastro details 21 PPIMAGE STR simple/ppImage.config # Default: all (normal) options on 22 PSPHOT STR simple/psphot.config # psphot details 20 23 END 21 24 25 # Rejection levels for detrend creation 26 REJECTION METADATA 27 TYPE LIMITS FILTER EXPECTED IMFILE.MEAN IMFILE.STDEV EXP.MEAN EXP.STDEV EXP.MEANSTDEV ENSEMBLE.MEAN ENSEMBLE.STDEV ENSEMBLE.MEANSTDEV IMFILE.SN EXP.SN IMFILE.MEANSTDEV 28 FLAT MULTI 29 30 BIAS LIMITS * 0 1 4 0.5 4 0 3 4 0 0 0 0.5 31 DARK LIMITS * 0 1 4 0.5 4 0 3 4 0 0 0 0.5 32 FLAT LIMITS * 0 0 0 0 0 0 0 0 3 0 0 0 33 # FLAT LIMITS u 0 0 0 0 0 0 0 0 3 0 0 0 34 # FLAT LIMITS g 0 0 0 0 0 0 0 0 3 0 0 0 35 # FLAT LIMITS r 0 0 0 0 0 0 0 0 3 0 0 0 36 # FLAT LIMITS i 0 0 0 0 0 0 0 0 3 0 0 0 37 # FLAT LIMITS z 0 0 0 0 0 0 0 0 3 0 0 0 38 FRINGE LIMITS * 0 0 0 0 0 0 0 0 0 0 0 0 39 40 # FILTER is an additional qualifier, and may be "*" (or absent!), in which case it matches everything 41 # EXPECTED is the expected mean value 42 # IMFILE.MEAN is the maximum permitted mean value for an imfile, relative to the standard deviation 43 # IMFILE.STDEV is the maximum permitted standard deviation for an imfile 44 # EXP.MEAN is the maximum permitted mean value for an exposure, relative to the standard deviation 45 # EXP.STDEV is the maximum permitted standard deviation for an exposure 46 # EXP.MEANSTDEV is the maximum permitted mean standard deviation for an exposure relative to the mean 47 # ENSEMBLE.MEAN is the maximum permitted mean for an ensemble of exposures 48 # ENSEMBLE.STDEV is the maximum permitted standard deviation for an ensemble of exposures 49 # ENSEMBLE.MEANSTDEV is the maximum permitted mean standard deviation for an ensemble of exposures 50 # IMFILE.SN is the minimum permitted signal-to-noise for an imfile 51 # EXP.SN is the minimum permitted signal-to-noise for an exposure 52 # These values (all except FILTER) may be zero, in which case no clipping is applied. 53 54 END 55 22 56 FILERULES METADATA 23 57 PSASTRO.INPUT STR PSASTRO.INPUT.CMP … … 29 63 PPIMAGE.INPUT INPUT none.fits NONE NONE NONE IMAGE FPA 30 64 31 PPIMAGE.BIAS INPUT bias.fits NONE NONENONE IMAGE CHIP32 PPIMAGE.DARK INPUT dark.fits NONE NONENONE IMAGE CHIP33 PPIMAGE.FLAT INPUT flat.fits NONE NONENONE IMAGE CHIP34 PPIMAGE.MASK INPUT mask.fits NONE NONENONE IMAGE CHIP65 PPIMAGE.BIAS INPUT @DETDB NONE fpa NONE IMAGE CHIP 66 PPIMAGE.DARK INPUT @DETDB NONE fpa NONE IMAGE CHIP 67 PPIMAGE.FLAT INPUT @DETDB NONE fpa NONE IMAGE CHIP 68 PPIMAGE.MASK INPUT @DETDB NONE fpa NONE IMAGE CHIP 35 69 36 70 PSPHOT.INPUT INPUT none.fits NONE NONE NONE IMAGE CHIP … … 38 72 PSASTRO.INPUT.CMP INPUT none.fits NONE NONE PHU CMP CHIP 39 73 PSASTRO.INPUT.CMF INPUT none.fits NONE SMPDATA PHU CMF CHIP 40 PSPHOT.PSF.LOAD INPUT {OUTPUT}.psf NONE NONE NONE PSF FPA FPA TRUE NONE74 PSPHOT.PSF.LOAD INPUT {OUTPUT}.psf NONE NONE NONE PSF CHIP 41 75 42 76 ### output file definitions 43 77 TYPE OUTPUT FILENAME.RULE FILENAME.XTRA EXTNAME.RULE EXTNAME.XTRA FILE.TYPE FILE.LEVEL DATA.LEVEL FILE.SAVE FILE.FORMAT 44 78 PPIMAGE.OUTPUT OUTPUT {OUTPUT}.fit NONE NONE NONE IMAGE FPA FPA TRUE NONE 79 PPIMAGE.OUTPUT.MASK OUTPUT {OUTPUT}.mask.fits NONE NONE NONE MASK FPA FPA FALSE NONE 80 PPIMAGE.OUTPUT.WEIGHT OUTPUT {OUTPUT}.wt.fits NONE NONE NONE WEIGHT FPA FPA FALSE NONE 45 81 PPIMAGE.OUTPUT.CHIP OUTPUT {OUTPUT}.ch.fit NONE NONE NONE IMAGE FPA FPA TRUE SIMPLE 46 82 PPIMAGE.OUTPUT.FPA1 OUTPUT {OUTPUT}.b1.fit NONE NONE NONE IMAGE FPA FPA TRUE SIMPLE 47 83 PPIMAGE.OUTPUT.FPA2 OUTPUT {OUTPUT}.b2.fit NONE NONE NONE IMAGE FPA FPA TRUE SIMPLE 48 84 49 PPIMAGE.BIN1 OUTPUT {OUTPUT}.B1.fit NONE NONE NONE IMAGE FPA FPA TRUE SIMPLE50 PPIMAGE.BIN2 OUTPUT {OUTPUT}.B2.fit NONE NONE NONE IMAGE FPA FPA TRUE SIMPLE51 85 PPIMAGE.JPEG1 OUTPUT {OUTPUT}.b1.jpg -greyscale RANGE -5:20 JPEG FPA FPA TRUE SIMPLE 52 86 PPIMAGE.JPEG2 OUTPUT {OUTPUT}.b2.jpg -greyscale FRACTION 0.50:2.00 JPEG FPA FPA TRUE SIMPLE 87 PPIMAGE.BIN1 OUTPUT {OUTPUT}.b1.fit NONE NONE NONE IMAGE FPA FPA TRUE SIMPLE 88 PPIMAGE.BIN2 OUTPUT {OUTPUT}.b2.fit NONE NONE NONE IMAGE FPA FPA TRUE SIMPLE 53 89 54 90 PSPHOT.RESID OUTPUT {OUTPUT}.res.fits NONE NONE NONE IMAGE FPA FPA TRUE SIMPLE -
trunk/ippconfig/simple/format.config
r10461 r10723 20 20 CELLS METADATA 21 21 amplifier METADATA 22 CELL.TRIMSEC.SOURCE STR VALUE 23 CELL.TRIMSEC STR [0:0,0:0] 24 # alternatives for getting these from the headers 22 25 # CELL.TRIMSEC.SOURCE STR HEADER 23 CELL.TRIMSEC.SOURCE STR VALUE24 26 # CELL.BIASSEC.SOURCE STR VALUE 25 CELL.TRIMSEC STR [0:0,0:0]26 27 # CELL.TRIMSEC STR DATASEC 27 28 # CELL.BIASSEC STR BIASSEC … … 31 32 # How to translate PS concepts into FITS headers 32 33 TRANSLATION METADATA 34 FPA.TELESCOPE STR TELESCOP 35 FPA.INSTRUMENT STR INSTRUME 36 FPA.OBSTYPE STR OBSTYPE 33 37 FPA.AIRMASS STR AIRMASS 34 38 FPA.FILTER STR FILTER 35 FPA.POSANGLE STR POSANG 36 FPA.RA STR OBJ-RA 37 FPA.DEC STR OBJ-DEC 39 FPA.POSANGLE STR POSANGLE 40 FPA.RA STR RA 41 FPA.DEC STR DEC 42 FPA.OBJECT STR OBJECT 43 FPA.TIMESYS STR UTC 44 FPA.TIME STR DATE-OBS UTC-OBS # Date and time 38 45 CELL.EXPOSURE STR EXPTIME 39 46 CELL.DARKTIME STR DARKTIME … … 46 53 # Default PS concepts that may be specified by value 47 54 DEFAULTS METADATA 55 FPA.TIMESYS STR UTC 48 56 FPA.RADECSYS STR ICRS 49 57 CELL.GAIN F32 1.0 … … 62 70 FPA.RA STR HOURS 63 71 FPA.DEC STR DEGREES 72 FPA.TIME STR YEAR.FIRST 64 73 END -
trunk/ippconfig/simple/psphot.config
r10461 r10723 3 3 SAVE.BACKGND BOOL TRUE 4 4 SAVE.BACKSUB BOOL TRUE 5 SAVE.RESID BOOL FALSE 5 SAVE.PLOTS BOOL TRUE 6 SAVE.RESID BOOL TRUE 6 7 SAVE.PSF BOOL FALSE 7 8 LOAD.PSF BOOL FALSE
Note:
See TracChangeset
for help on using the changeset viewer.
