Changeset 35718
- Timestamp:
- Jun 28, 2013, 1:50:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509/Ohana/src/relphot/src/setMrelCatalog.c
r35104 r35718 110 110 if (!isSetMrelFinal && (secfilt[Nsec].flags & STAR_BAD)) continue; 111 111 112 int NexpPS1 = 0; 112 113 int Ncode = 0; 113 114 int Next = 0; … … 132 133 if (code->equiv != thisCode) { continue; } 133 134 Ncode ++; 135 136 // are we a PS1 exposure photcode? 137 if ((measure[k].photcode >= 10000) && (measure[k].photcode <= 10500)) { 138 NexpPS1 ++; 139 } 134 140 135 141 if (measureT[k].dbFlags & MEAS_BAD) SKIP_THIS_MEAS(Nbad); … … 272 278 int Nminmeas = isSetMrelFinal ? 1 : STAR_TOOFEW + 1; 273 279 280 // XXX : ugh : another hard-wired photcode entry... 281 if (isSetMrelFinal && (pass == 0)) { 282 if ((thisCode < 6) || (thisCode == 9)) { 283 secfilt[Nsec].Ncode = NexpPS1; 284 } else { 285 secfilt[Nsec].Ncode = Ncode; // 2MASS data if it exists 286 } 287 } 288 274 289 // when performing the grid analysis, STAR_TOOFEW should be set to 1; 275 290 if (N < Nminmeas) { /* too few measurements */
Note:
See TracChangeset
for help on using the changeset viewer.
