Changeset 42433
- Timestamp:
- Mar 23, 2023, 6:53:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-ops-20220906/Ohana/src/relphot/src/setMrelCatalog.c
r42431 r42433 406 406 secfilt[Nsec].flags |= ID_SECF_HAS_CFH; 407 407 } 408 // secfilt[Nsec].flags |= ID_SECF_AST_GAIA ; 409 // secfilt[Nsec].flags |= ID_SECF_PHO_SYNTH; 410 // secfilt[Nsec].flags |= ID_SECF_PHO_ATLAS; 411 // secfilt[Nsec].flags |= ID_SECF_PHO_PV3 ; 412 secfilt[Nsec].flags |= ID_SECF_PHO_SOUTH; 413 // fprintf (stderr, "test obj %d %f %f %f %f %d %d\n", Ns, average[0].R, average[0].D, average[0].uR, average[0].uD, average[0].flags, isSetMrelFinal); 408 // secfilt[Nsec].flags |= ID_SECF_AST_GAIA ; // for building reference catalog only, STAR_FEW need to comment out 409 // secfilt[Nsec].flags |= ID_SECF_PHO_SYNTH; // for building reference catalog only, STAR_FEW need to comment out 410 // secfilt[Nsec].flags |= ID_SECF_PHO_ATLAS; // for building reference catalog only, STAR_FEW need to comment out 411 // secfilt[Nsec].flags |= ID_SECF_PHO_PV3 ; // for building reference catalog only, STAR_FEW need to comment out 412 // secfilt[Nsec].flags |= ID_SECF_PHO_SOUTH; // for building reference catalog only, STAR_FEW need to comment out 414 413 415 414 // if -preserve-ps1 is set and this object has PS1 data, skip the rest of the steps: … … 469 468 int NrankingPSF = useOLS ? magStatsByRanking (&results->psfData[Nsec], psfstats) : magStatsByRankingIRLS (&results->psfData[Nsec], psfstats); 470 469 if (NrankingPSF < Nminmeas) { 471 //secfilt[Nsec].flags |= ID_SECF_STAR_FEW;470 secfilt[Nsec].flags |= ID_SECF_STAR_FEW; 472 471 } else { 473 472 secfilt[Nsec].MpsfChp = psfstats->mean; 474 473 secfilt[Nsec].dMpsfChp = psfstats->error; 475 474 secfilt[Nsec].Mchisq = (psfstats->Nmeas > 1) ? psfstats->chisq : NAN; 476 //secfilt[Nsec].flags &= ~ID_SECF_STAR_FEW;475 secfilt[Nsec].flags &= ~ID_SECF_STAR_FEW; 477 476 } 478 477 … … 558 557 break; 559 558 case 3: 560 //secfilt[Nsec].flags |= ID_SECF_RANK_3;559 secfilt[Nsec].flags |= ID_SECF_RANK_3; 561 560 break; 562 561 case 4:
Note:
See TracChangeset
for help on using the changeset viewer.
