Changeset 34070
- Timestamp:
- Jun 25, 2012, 3:05:25 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120601/Ohana/src/relphot/src
- Files:
-
- 2 edited
-
StarOps.c (modified) (3 diffs)
-
setMrelFinal.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/Ohana/src/relphot/src/StarOps.c
r33999 r34070 354 354 int Next = 0; 355 355 int haveSynth = FALSE; 356 int haveStack = FALSE; 356 357 357 358 int forceSynth = FALSE; … … 413 414 } 414 415 } 416 // gpc1 stack data 417 if ((catalog[Nc].measure[m].photcode >= 11000) && (catalog[Nc].measure[m].photcode <= 11400)) { 418 if (pass < 2) continue; 419 haveStack = TRUE; 420 } 421 415 422 // count extended detections for 2MASS (XXX NOTE hardwired photcodes 2011, 2012, 2013) 416 423 if ((catalog[Nc].measure[m].photcode >= 2011) && (catalog[Nc].measure[m].photcode <= 2013)) { … … 494 501 int Nminmeas = isSetMrelFinal ? 1 : STAR_TOOFEW + 1; 495 502 503 if (haveStack && (N > 1)) { 504 fprintf (stderr, "multiple stack values for %10.6f %10.6f\n", catalog[Nc].averageT[j].R, catalog[Nc].averageT[j].D); 505 } 506 496 507 // when performing the grid analysis, STAR_TOOFEW should be set to 1; 497 508 if (N < Nminmeas) { /* too few measurements */ -
branches/eam_branches/ipp-20120601/Ohana/src/relphot/src/setMrelFinal.c
r33963 r34070 166 166 167 167 /* allow measures from images marked POOR and FEW */ 168 if (pass >= 2) IMAGE_BAD = ID_IMAGE_PHOTOM_NOCAL;168 if (pass >= 3) IMAGE_BAD = ID_IMAGE_PHOTOM_NOCAL; 169 169 170 170 /* allow measures marked as outliers (POOR) and off image region (AREA) */ 171 if (pass >= 2) {171 if (pass >= 3) { 172 172 MEAS_BAD = ID_MEAS_NOCAL | ID_MEAS_SKIP_PHOTOM; 173 173 } else { … … 233 233 } 234 234 235 // PASS 3 : accept bad measurements (eg, SAT, CR) 235 // PASS 3 : accept bad measurements (eg, SAT, CR), internal outliers 236 236 if (pass < 3) { 237 237 if (catalog[0].measure[m].photFlags & code->photomBadMask) goto skip; … … 241 241 } 242 242 243 // PASS 2 : internal outliers accepted243 // PASS 2 : accept stack measurements 244 244 245 245 // PASS 1 : accept poor measurements as well (eg, POOR FIT, etc)
Note:
See TracChangeset
for help on using the changeset viewer.
