Changeset 27582 for trunk/Ohana/src/addstar/test/simple.dvo
- Timestamp:
- Apr 2, 2010, 3:56:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/test/simple.dvo (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/test/simple.dvo
r27435 r27582 4 4 5 5 macro test.all 6 test.fields.type PS1_V1 7 6 test.fields PS1_DEV_0 PS1_V1 7 test.fields PS1_DEV_1 PS1_V1 8 test.fields PS1_V1 PS1_V1 9 test.fields PS1_V2 PS1_V1 10 11 test.fields PS1_DEV_0 PS1_V2 12 test.fields PS1_DEV_1 PS1_V2 13 test.fields PS1_V1 PS1_V2 14 test.fields PS1_V2 PS1_V2 8 15 end 9 16 10 17 # create a populated catdir with a single cmf -- test each field 11 macro test.fields .type12 if ($0 != 2)13 echo "USAGE: test.fields .type(cmftype) (dvotype?)"18 macro test.fields 19 if ($0 != 3) 20 echo "USAGE: test.fields (cmftype) (dvotype?)" 14 21 break 15 22 end … … 24 31 mkinput 25 32 exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1 26 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf 33 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 34 35 list testfields -copy testfields_$1 27 36 28 37 catdir catdir.test … … 76 85 end 77 86 78 exec rm test.cmf test.in.txt79 exec rm -r catdir.test87 # exec rm test.cmf test.in.txt 88 # exec rm -r catdir.test 80 89 81 90 tapDONE … … 96 105 97 106 # list of cmf fields to test matched to mextract fields 107 # this list is good for PS1_DEV_0 108 list testfields_PS1_DEV_0 109 IPP_IDET : detid 110 X_PSF : xccd 111 Y_PSF : yccd 112 X_PSF_SIG : xccd:err 113 Y_PSF_SIG : yccd:err 114 PSF_INST_MAG : mag:inst 115 PSF_INST_MAG_SIG : mag:err 116 PEAK_FLUX_AS_MAG : SKIP 117 SKY : sky 118 SKY_SIG : sky_err 119 PSF_CHISQ : psf_chisq 120 PSF_WIDTH_X : FWHM_MAJ 121 PSF_WIDTH_Y : FWHM_MIN 122 PSF_THETA : THETA 123 PSF_QF : PSF_QF 124 N_FRAMES : SKIP 125 end 126 127 # list of cmf fields to test matched to mextract fields 98 128 # this list is good for PS1_DEV_1 99 list testfields_PS1_DEV_ V1129 list testfields_PS1_DEV_1 100 130 IPP_IDET : detid 101 131 X_PSF : xccd … … 119 149 end 120 150 121 ... etc ... 122 # this list is good for PS1_DEV_0 123 list testfields_PS1_DEV_V0 124 IPP_IDET : detid 125 X_PSF : xccd 126 Y_PSF : yccd 127 X_PSF_SIG : xccd:err 128 Y_PSF_SIG : yccd:err 129 PSF_INST_MAG : mag:inst 130 PSF_INST_MAG_SIG : mag:err 131 PEAK_FLUX_AS_MAG : SKIP 132 SKY : sky 133 SKY_SIG : sky_err 134 PSF_CHISQ : psf_chisq 135 CR_NSIGMA : cr_nsigma 151 # this list is good for PS1_V1 152 list testfields_PS1_V1 153 IPP_IDET : detid 154 X_PSF : xccd 155 Y_PSF : yccd 156 X_PSF_SIG : xccd:err # FAIL 157 Y_PSF_SIG : yccd:err # FAIL 158 RA_PSF : SKIP # astrometry is not calibrated in the cmf 159 DEC_PSF : SKIP # astrometry is not calibrated in the cmf 160 POSANGLE : SKIP # astrometry is not calibrated in the cmf 161 PLTSCALE : SKIP # astrometry is not calibrated in the cmf 162 PSF_INST_MAG : mag:inst 163 PSF_INST_MAG_SIG : mag:err 164 AP_MAG_STANDARD : mag:ap # FAIL 165 AP_MAG_RADIUS : SKIP # no accessor 166 PEAK_FLUX_AS_MAG : SKIP # no accessor 167 CAL_PSF_MAG : SKIP # photometry is not calibrated in the cmf 168 CAL_PSF_MAG_SIG : SKIP # photometry is not calibrated in the cmf 169 SKY : sky 170 SKY_SIG : sky_err 171 PSF_CHISQ : psf_chisq 172 CR_NSIGMA : cr_nsigma 136 173 EXT_NSIGMA : ext_nsigma 137 PSF_WIDTH_X : FWHM_MAJ 138 PSF_WIDTH_Y : FWHM_MIN 139 PSF_THETA : THETA 140 PSF_QF : PSF_QF 141 N_FRAMES : SKIP 174 PSF_MAJOR : FWHM_MAJ 175 PSF_MINOR : FWHM_MIN 176 PSF_THETA : THETA # FAIL 177 PSF_QF : PSF_QF 178 PSF_NDOF : SKIP # no accessor 179 PSF_NPIX : SKIP # no accessor 180 MOMENTS_XX : SKIP # no accessor 181 MOMENTS_XY : SKIP # no accessor 182 MOMENTS_YY : SKIP # no accessor 142 183 FLAGS : phot_flags 143 end 144 184 N_FRAMES : SKIP # no accessor 185 end 186 187 # this list is good for PS1_V2 188 list testfields_PS1_V2 189 IPP_IDET : detid 190 X_PSF : xccd 191 Y_PSF : yccd 192 X_PSF_SIG : xccd:err # FAIL 193 Y_PSF_SIG : yccd:err # FAIL 194 RA_PSF : SKIP # astrometry is not calibrated in the cmf 195 DEC_PSF : SKIP # astrometry is not calibrated in the cmf 196 POSANGLE : SKIP # astrometry is not calibrated in the cmf 197 PLTSCALE : SKIP # astrometry is not calibrated in the cmf 198 PSF_INST_MAG : mag:inst 199 PSF_INST_MAG_SIG : mag:err 200 AP_MAG_STANDARD : mag:ap # FAIL 201 AP_MAG_RADIUS : SKIP # no accessor 202 PEAK_FLUX_AS_MAG : SKIP # no accessor 203 CAL_PSF_MAG : SKIP # photometry is not calibrated in the cmf 204 CAL_PSF_MAG_SIG : SKIP # photometry is not calibrated in the cmf 205 SKY : sky 206 SKY_SIG : sky_err 207 PSF_CHISQ : psf_chisq 208 CR_NSIGMA : cr_nsigma 209 EXT_NSIGMA : ext_nsigma 210 PSF_MAJOR : FWHM_MAJ 211 PSF_MINOR : FWHM_MIN 212 PSF_THETA : THETA # FAIL 213 PSF_QF : PSF_QF 214 PSF_NDOF : SKIP # no accessor 215 PSF_NPIX : SKIP # no accessor 216 MOMENTS_XX : SKIP # no accessor 217 MOMENTS_XY : SKIP # no accessor 218 MOMENTS_YY : SKIP # no accessor 219 FLAGS : phot_flags 220 N_FRAMES : SKIP # no accessor 221 end
Note:
See TracChangeset
for help on using the changeset viewer.
