Changeset 39732
- Timestamp:
- Oct 6, 2016, 12:15:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/Ohana/src/relphot/src/setMrelCatalog.c
r39721 r39732 322 322 for (Nsec = 0; Nsec < Nsecfilt; Nsec++) { 323 323 324 // if we detected this object in PS1, keep the mean photometry 325 if (PRESERVE_PS1) { 326 if (secfilt[Nsec].flags & ID_SECF_HAS_PS1) continue; 327 } 328 329 dvo_secfilt_init (&secfilt[Nsec], SECFILT_RESET_CHIP); // this does not reset astrometry or STACK bits 324 // if we detected this object in PS1, or do not request -preserve-ps1, keep the mean photometry values 325 if (!PRESERVE_PS1 || !(secfilt[Nsec].flags & ID_SECF_HAS_PS1)) { 326 dvo_secfilt_init (&secfilt[Nsec], SECFILT_RESET_CHIP); // this does not reset astrometry or STACK bits 327 } 328 329 if (haveTYCHO) { 330 secfilt[Nsec].flags |= ID_SECF_HAS_TYCHO; 331 } 332 if (haveHSC) { 333 secfilt[Nsec].flags |= ID_SECF_HAS_HSC; 334 } 335 if (haveCFH) { 336 secfilt[Nsec].flags |= ID_SECF_HAS_CFH; 337 } 338 339 if (PRESERVE_PS1 && (secfilt[Nsec].flags & ID_SECF_HAS_PS1)) continue; 340 // if -preserve-ps1 is set and this object has PS1 data, skip the rest of the steps: 330 341 331 342 // XXX hardwired grizy = (01234) JHK = (567) w = (8) … … 334 345 } else { 335 346 secfilt[Nsec].Ncode = results->Nmeas[Nsec]; // 2MASS data if it exists 336 }337 338 if (haveTYCHO) {339 secfilt[Nsec].flags |= ID_SECF_HAS_TYCHO;340 }341 if (haveHSC) {342 secfilt[Nsec].flags |= ID_SECF_HAS_HSC;343 }344 if (haveCFH) {345 secfilt[Nsec].flags |= ID_SECF_HAS_CFH;346 347 } 347 348
Note:
See TracChangeset
for help on using the changeset viewer.
