Changeset 39041 for trunk/Ohana/src/relphot
- Timestamp:
- Nov 5, 2015, 1:04:07 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/relphot/src/setMrelCatalog.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relphot/src/setMrelCatalog.c
r38986 r39041 674 674 } // Nsecfilt loop 675 675 676 // in PSPS, there will be a stackObject row with the primary values. if all filter primary values which 677 // exist are also best values, then this row will be the best entry 678 679 // the secfilt[Ns] entries are defined to be the Best values, so 680 681 // conversely, if any secfilt[Ns] values are not PRIMARY, then the PRIMARY row is not the BEST row 682 683 int PrimaryIsBest = TRUE; 684 for (Ns = 0; Ns < Nphotcodes; Ns++) { 685 if (!(secfilt[Ns].flags & ID_SECF_HAS_PS1_STACK)) continue; // no stack detection in PS1, nothing is best 686 if (secfilt[Ns].flags & ID_SECF_STACK_PRIMARY) continue; // primary stack detection is best 687 PrimaryIsBest = FALSE; 688 } 689 690 if (PrimaryIsBest) { 691 average[0].flags |= ID_OBJ_BEST_STACK; 692 } 693 676 694 if (NstackGood >= 2) { 677 695 average[0].flags |= ID_OBJ_GOOD_STACK;
Note:
See TracChangeset
for help on using the changeset viewer.
