Changeset 33398
- Timestamp:
- Mar 4, 2012, 6:27:22 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/Ohana/src/addstar
- Files:
-
- 3 edited
-
src/find_matches.c (modified) (1 diff)
-
src/find_matches_closest.c (modified) (1 diff)
-
test/simple.dvo (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/addstar/src/find_matches.c
r28840 r33398 291 291 292 292 for (j = 0; j < Nsecfilt; j++) { 293 catalog[0].secfilt[Nave*Nsecfilt+j].M = NAN; 294 catalog[0].secfilt[Nave*Nsecfilt+j].dM = NAN; 295 catalog[0].secfilt[Nave*Nsecfilt+j].Xm = NAN_S_SHORT; 296 catalog[0].secfilt[Nave*Nsecfilt+j].M_20 = NAN_S_SHORT; 297 catalog[0].secfilt[Nave*Nsecfilt+j].M_80 = NAN_S_SHORT; 298 catalog[0].secfilt[Nave*Nsecfilt+j].Ncode = 0; 299 catalog[0].secfilt[Nave*Nsecfilt+j].Nused = 0; 293 catalog[0].secfilt[Nave*Nsecfilt+j].M = NAN; 294 catalog[0].secfilt[Nave*Nsecfilt+j].Map = NAN; 295 catalog[0].secfilt[Nave*Nsecfilt+j].dM = NAN; 296 catalog[0].secfilt[Nave*Nsecfilt+j].Xm = NAN_S_SHORT; 297 catalog[0].secfilt[Nave*Nsecfilt+j].M_20 = NAN_S_SHORT; 298 catalog[0].secfilt[Nave*Nsecfilt+j].M_80 = NAN_S_SHORT; 299 catalog[0].secfilt[Nave*Nsecfilt+j].Ncode = 0; 300 catalog[0].secfilt[Nave*Nsecfilt+j].Nused = 0; 301 catalog[0].secfilt[Nave*Nsecfilt+j].ubercalDist = 1000; 302 catalog[0].secfilt[Nave*Nsecfilt+j].flags = 0; 303 catalog[0].secfilt[Nave*Nsecfilt+j].dummy[0] = 0; 304 catalog[0].secfilt[Nave*Nsecfilt+j].dummy[1] = 0; 300 305 } 301 306 -
branches/eam_branches/ipp-20111122/Ohana/src/addstar/src/find_matches_closest.c
r32632 r33398 292 292 293 293 for (j = 0; j < Nsecfilt; j++) { 294 catalog[0].secfilt[Nave*Nsecfilt+j].M = NAN; 295 catalog[0].secfilt[Nave*Nsecfilt+j].dM = NAN; 296 catalog[0].secfilt[Nave*Nsecfilt+j].Xm = NAN_S_SHORT; 297 catalog[0].secfilt[Nave*Nsecfilt+j].M_20 = NAN_S_SHORT; 298 catalog[0].secfilt[Nave*Nsecfilt+j].M_80 = NAN_S_SHORT; 299 catalog[0].secfilt[Nave*Nsecfilt+j].Ncode = 0; 300 catalog[0].secfilt[Nave*Nsecfilt+j].Nused = 0; 294 catalog[0].secfilt[Nave*Nsecfilt+j].M = NAN; 295 catalog[0].secfilt[Nave*Nsecfilt+j].Map = NAN; 296 catalog[0].secfilt[Nave*Nsecfilt+j].dM = NAN; 297 catalog[0].secfilt[Nave*Nsecfilt+j].Xm = NAN_S_SHORT; 298 catalog[0].secfilt[Nave*Nsecfilt+j].M_20 = NAN_S_SHORT; 299 catalog[0].secfilt[Nave*Nsecfilt+j].M_80 = NAN_S_SHORT; 300 catalog[0].secfilt[Nave*Nsecfilt+j].Ncode = 0; 301 catalog[0].secfilt[Nave*Nsecfilt+j].Nused = 0; 302 catalog[0].secfilt[Nave*Nsecfilt+j].ubercalDist = 1000; 303 catalog[0].secfilt[Nave*Nsecfilt+j].flags = 0; 304 catalog[0].secfilt[Nave*Nsecfilt+j].dummy[0] = 0; 305 catalog[0].secfilt[Nave*Nsecfilt+j].dummy[1] = 0; 301 306 } 302 307 -
branches/eam_branches/ipp-20111122/Ohana/src/addstar/test/simple.dvo
r27582 r33398 8 8 test.fields PS1_V1 PS1_V1 9 9 test.fields PS1_V2 PS1_V1 10 test.fields PS1_V3 PS1_V1 10 11 11 12 test.fields PS1_DEV_0 PS1_V2 … … 13 14 test.fields PS1_V1 PS1_V2 14 15 test.fields PS1_V2 PS1_V2 16 test.fields PS1_V3 PS1_V2 17 18 test.fields PS1_DEV_0 PS1_V3 19 test.fields PS1_DEV_1 PS1_V3 20 test.fields PS1_V1 PS1_V3 21 test.fields PS1_V2 PS1_V3 22 test.fields PS1_V3 PS1_V3 15 23 end 16 24 … … 31 39 mkinput 32 40 exec mkcmf test.in.txt test.cmf -date 2008/1/1 -time 01:00:00 -radec $RA $DEC -type $1 33 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 41 exec addstar -D CATDIR catdir.test -D CAMERA simtest test.cmf -D CATFORMAT $2 -quick-airmass 34 42 35 43 list testfields -copy testfields_$1 … … 220 228 N_FRAMES : SKIP # no accessor 221 229 end 230 231 # this list is good for PS1_V3 232 list testfields_PS1_V3 233 IPP_IDET : detid 234 X_PSF : xccd 235 Y_PSF : yccd 236 X_PSF_SIG : xccd:err # FAIL 237 Y_PSF_SIG : yccd:err # FAIL 238 RA_PSF : SKIP # astrometry is not calibrated in the cmf 239 DEC_PSF : SKIP # astrometry is not calibrated in the cmf 240 POSANGLE : SKIP # astrometry is not calibrated in the cmf 241 PLTSCALE : SKIP # astrometry is not calibrated in the cmf 242 PSF_INST_MAG : mag:inst 243 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 247 CAL_PSF_MAG : SKIP # photometry is not calibrated in the cmf 248 CAL_PSF_MAG_SIG : SKIP # photometry is not calibrated in the cmf 249 SKY : sky 250 SKY_SIG : sky_err 251 PSF_CHISQ : psf_chisq 252 CR_NSIGMA : cr_nsigma 253 EXT_NSIGMA : ext_nsigma 254 PSF_MAJOR : FWHM_MAJ 255 PSF_MINOR : FWHM_MIN 256 PSF_THETA : THETA # FAIL 257 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 263 FLAGS : phot_flags 264 N_FRAMES : SKIP # no accessor 265 end
Note:
See TracChangeset
for help on using the changeset viewer.
