Changeset 41975
- Timestamp:
- Jan 4, 2022, 6:25:40 AM (5 years ago)
- Location:
- branches/eam_branches/ipp-20211108/ippTests/ippCheck
- Files:
-
- 3 edited
-
cammask.pro (modified) (1 diff)
-
camstats.pro (modified) (3 diffs)
-
ippCheck (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/ippTests/ippCheck/cammask.pro
r41941 r41975 1 1 #!/usr/bin/env dvo 2 3 # this module generates a table of mask fractions and matched detections for known sources 4 # in the field of an exposure. mask fractions are measured on the chip (or camera?) mask files 5 # while the detections are derived from the camera-stage smf file 6 7 # this module provides the following functions 8 # get.camera.eff (camera) (expname) (camLabel) (refsrcs.fits) : 9 # get.chip.detect.stats (chipname) (chipnseq) 10 # get.chip.mask.stats (cammask) 11 # get.chip.mask.files (camPath) 12 # get.chip.metadata (camera) (chipID) 13 # get.camera.metadata (camera) (expname) (camLabel) 14 15 # init.radec.range 16 # set.radec.range 2 17 3 18 $VERBOSE = 1 -
branches/eam_branches/ipp-20211108/ippTests/ippCheck/camstats.pro
r41941 r41975 1 # this 2 3 # load.camstats (glob) : load data from a set of stf files and calculate detection histograms 4 # plot.camstats.resid : plot photometric and astrometric residuals 5 # plot.camstats.fracs : plot detection fraction histograms vs magnitude 6 7 # calc.camstats : calculate detection histograms for a single set of data 8 9 # UTILITIES: 10 # legend.init 11 # legend.line 1 12 2 13 macro load.camstats … … 270 281 end 271 282 283 ############ macros used to test mpcorb_predict 284 272 285 macro plot.camsky 273 286 … … 290 303 cplot -c red -op 1.0 -pt box -sz 2.5 RrefCam DrefCam where (not(isnan(Xpsf)) && (Q1psf > 0.85)) 291 304 end 292 293 ############ macros used to test mpcorb_predict294 305 295 306 macro test.mpcfine -
branches/eam_branches/ipp-20211108/ippTests/ippCheck/ippCheck
r41973 r41975 25 25 break 26 26 end 27 28 # XXX Can I add flags to turn on/off certain stages? 29 # -no-warp, -no-diff, -no-cam 30 31 args.options -no-cam BOOL SKIP_CAM 32 args.options -no-warp BOOL SKIP_WARP 33 args.options -no-diff BOOL SKIP_DIFF 27 34 28 35 local expname camlabel … … 124 131 if ("$argv:0" == "mpc") 125 132 if ($argv:n != 4) 126 echo "USAGE: teleff.prompc (expname) (label) (mpcfile)"133 echo "USAGE: ippCheck mpc (expname) (label) (mpcfile)" 127 134 break 128 135 end … … 134 141 if ("$argv:0" == "dvo") 135 142 if ($argv:n != 3) 136 echo "USAGE: teleff.prodvo (expname) (label)"143 echo "USAGE: ippCheck dvo (expname) (label)" 137 144 break 138 145 end … … 142 149 end 143 150 144 echo "USAGE: teleff.pro (mode) (expname) (label) [mpcfile]" 151 if ("$argv:0" == "smf") 152 if ($argv:n != 4) 153 echo "USAGE: ippCheck smf (expname) (label) (smffile)" 154 break 155 end 156 157 example.full.dvo $argv:1 $argv:2 158 exit 0 159 end 160 161 echo "USAGE: ippCheck (mode) (expname) (label) [mpcfile]" 145 162 echo " mode may be 'dvo' or 'mpc'" 146 163 exit 2 147 164 end 165
Note:
See TracChangeset
for help on using the changeset viewer.
