Changeset 25388
- Timestamp:
- Sep 15, 2009, 3:45:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotVisual.c
r25387 r25388 166 166 bool psphotVisualShowImage (pmReadout *readout) { 167 167 168 //if (!pmVisualIsVisual()) return true;168 if (!pmVisualIsVisual()) return true; 169 169 170 170 int kapa = psphotKapaChannel (1); … … 1078 1078 pmSource *source = sources->data[i]; 1079 1079 1080 bool keep = false; 1081 keep |= (source->mode & PM_SOURCE_MODE_SATSTAR);1082 if ( !keep) continue;1080 // only show "real" saturated stars (not defects) 1081 if (!(source->mode & PM_SOURCE_MODE_SATSTAR)) continue;; 1082 if (source->mode & PM_SOURCE_MODE_DEFECT) continue;; 1083 1083 1084 1084 // how does this subimage get placed into the output image? … … 1123 1123 pmSource *source = sources->data[i]; 1124 1124 1125 bool keep = false; 1126 if (source->mode & PM_SOURCE_MODE_SATSTAR) { 1127 nSAT ++; 1128 keep = true; 1129 } 1130 if (!keep) continue; 1125 // only show "real" saturated stars (not defects) 1126 if (!(source->mode & PM_SOURCE_MODE_SATSTAR)) continue;; 1127 if (source->mode & PM_SOURCE_MODE_DEFECT) continue;; 1128 nSAT ++; 1131 1129 1132 1130 if (Xo + DX > NX) { … … 1508 1506 bool psphotVisualShowSourceSize (pmReadout *readout, psArray *sources) { 1509 1507 1510 //if (!pmVisualIsVisual()) return true;1508 if (!pmVisualIsVisual()) return true; 1511 1509 1512 1510 int myKapa = psphotKapaChannel (1); … … 1541 1539 KapaSection section; 1542 1540 1543 //if (!pmVisualIsVisual()) return true;1541 if (!pmVisualIsVisual()) return true; 1544 1542 1545 1543 int myKapa = psphotKapaChannel (2);
Note:
See TracChangeset
for help on using the changeset viewer.
