Changeset 34260 for trunk/Ohana/src/addstar/test
- Timestamp:
- Jul 31, 2012, 4:02:00 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/test/simple.dvo (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/test/simple.dvo
r33653 r34260 21 21 test.fields PS1_V2 PS1_V3 22 22 test.fields PS1_V3 PS1_V3 23 24 test.fields PS1_DEV_0 PS1_V4 25 test.fields PS1_DEV_1 PS1_V4 26 test.fields PS1_V1 PS1_V4 27 test.fields PS1_V2 PS1_V4 28 test.fields PS1_V3 PS1_V4 23 29 end 24 30 … … 83 89 sort id1 v1 84 90 sort id2 v2 91 92 # some fields require arithmetic manipulations 93 if ("$name:0" == "KRON_FLUX") 94 set v1 = -2.5*log(v1) 95 end 96 if ("$name:0" == "KRON_FLUX_ERR") 97 set v1 = KRON_FLUX_ERR / KRON_FLUX 98 end 99 85 100 set d = v1 - v2 86 101 vstat -q d … … 88 103 #echo tapOK fabs($MEAN) < 0.001 "$name:0 vs $name:2 (MEAN)" 89 104 #echo tapOK fabs($SIGMA) < 0.001 "$name:0 vs $name:2 (SIGMA)" 105 106 # THETA is stored to only (360/65536) deg accuracy 107 if ("$name:0" == "PSF_THETA") 108 echo $MEAN 109 tapOK {abs($MEAN) < 0.006} "$name:0 vs $name:2 (MEAN)" 110 tapOK {abs($SIGMA) < 0.001} "$name:0 vs $name:2 (SIGMA)" 111 continue 112 end 90 113 91 114 tapOK {abs($MEAN) < 0.001} "$name:0 vs $name:2 (MEAN)" … … 111 134 output stdout 112 135 end 136 137 # the following lists define fields in the cmf files which can be compared to their equivalents in DVO 138 # the left column is the cmf field name, the right column is the dvo field name 113 139 114 140 # list of cmf fields to test matched to mextract fields … … 122 148 PSF_INST_MAG : mag:inst 123 149 PSF_INST_MAG_SIG : mag:err 124 PEAK_FLUX_AS_MAG : SKIP 150 PEAK_FLUX_AS_MAG : SKIP # not ingested into DVO 125 151 SKY : sky 126 152 SKY_SIG : sky_err … … 130 156 PSF_THETA : THETA 131 157 PSF_QF : PSF_QF 132 N_FRAMES : SKIP 158 N_FRAMES : SKIP # not ingested into DVO 133 159 end 134 160 … … 143 169 PSF_INST_MAG : mag:inst 144 170 PSF_INST_MAG_SIG : mag:err 145 PEAK_FLUX_AS_MAG : SKIP 171 PEAK_FLUX_AS_MAG : SKIP # not ingested into DVO 146 172 SKY : sky 147 173 SKY_SIG : sky_err … … 153 179 PSF_THETA : THETA 154 180 PSF_QF : PSF_QF 155 N_FRAMES : SKIP 181 N_FRAMES : SKIP # not ingested into DVO 156 182 FLAGS : phot_flags 157 183 end … … 236 262 X_PSF_SIG : xccd:err # FAIL 237 263 Y_PSF_SIG : yccd:err # FAIL 238 RA_PSF : SKIP # astrometry is not calibrated in the cmf239 DEC_PSF : SKIP # astrometry is not calibrated in the cmf240 264 POSANGLE : SKIP # astrometry is not calibrated in the cmf 241 265 PLTSCALE : SKIP # astrometry is not calibrated in the cmf 242 266 PSF_INST_MAG : mag:inst 243 267 PSF_INST_MAG_SIG : mag:err 244 AP_MAG_STANDARD : mag:ap # FAIL 245 AP_MAG_RADIUS : SKIP # no accessor 246 PEAK_FLUX_AS_MAG : SKIP # no accessor 268 PSF_INST_FLUX : SKIP # not ingested into DVO 269 PSF_INST_FLUX_SIG : SKIP # not ingested into DVO 270 AP_MAG_STANDARD : mag:aperinst # FAIL 271 AP_MAG_RAW : SKIP # not ingested into DVO 272 AP_MAG_RADIUS : SKIP # not ingested into DVO 247 273 CAL_PSF_MAG : SKIP # photometry is not calibrated in the cmf 248 274 CAL_PSF_MAG_SIG : SKIP # photometry is not calibrated in the cmf 275 RA_PSF : SKIP # astrometry is not calibrated in the cmf 276 DEC_PSF : SKIP # astrometry is not calibrated in the cmf 277 PEAK_FLUX_AS_MAG : SKIP # not ingested into DVO 249 278 SKY : sky 250 279 SKY_SIG : sky_err … … 256 285 PSF_THETA : THETA # FAIL 257 286 PSF_QF : PSF_QF 258 PSF_NDOF : SKIP # no accessor 259 PSF_NPIX : SKIP # no accessor 260 MOMENTS_XX : SKIP # no accessor 261 MOMENTS_XY : SKIP # no accessor 262 MOMENTS_YY : SKIP # no accessor 287 PSF_QF_PERFECT : SKIP # not ingested into DVO 288 PSF_NDOF : PSF_NDOF 289 PSF_NPIX : PSF_NPIX 290 MOMENTS_XX : MXX 291 MOMENTS_XY : MXY 292 MOMENTS_YY : MYY 293 MOMENTS_M3C : SKIP # not ingested into DVO 294 MOMENTS_M3S : SKIP # not ingested into DVO 295 MOMENTS_M4C : SKIP # not ingested into DVO 296 MOMENTS_M4S : SKIP # not ingested into DVO 297 MOMENTS_R1 : SKIP # not ingested into DVO 298 MOMENTS_RH : SKIP # not ingested into DVO 299 KRON_FLUX : mag:kroninst 300 KRON_FLUX_ERR : mag:kronerr 301 KRON_FLUX_INNER : SKIP # not ingested into DVO 302 KRON_FLUX_OUTER : SKIP # not ingested into DVO 263 303 FLAGS : phot_flags 264 N_FRAMES : SKIP # no accessor265 end 304 N_FRAMES : SKIP # not ingested into DVO 305 end
Note:
See TracChangeset
for help on using the changeset viewer.
