IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25388


Ignore:
Timestamp:
Sep 15, 2009, 3:45:42 PM (17 years ago)
Author:
eugene
Message:

lots of cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src/psphotVisual.c

    r25387 r25388  
    166166bool psphotVisualShowImage (pmReadout *readout) {
    167167
    168     // if (!pmVisualIsVisual()) return true;
     168    if (!pmVisualIsVisual()) return true;
    169169
    170170    int kapa = psphotKapaChannel (1);
     
    10781078        pmSource *source = sources->data[i];
    10791079
    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;;
    10831083
    10841084        // how does this subimage get placed into the output image?
     
    11231123        pmSource *source = sources->data[i];
    11241124
    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 ++;
    11311129
    11321130        if (Xo + DX > NX) {
     
    15081506bool psphotVisualShowSourceSize (pmReadout *readout, psArray *sources) {
    15091507
    1510     // if (!pmVisualIsVisual()) return true;
     1508    if (!pmVisualIsVisual()) return true;
    15111509
    15121510    int myKapa = psphotKapaChannel (1);
     
    15411539    KapaSection section;
    15421540
    1543     // if (!pmVisualIsVisual()) return true;
     1541    if (!pmVisualIsVisual()) return true;
    15441542
    15451543    int myKapa = psphotKapaChannel (2);
Note: See TracChangeset for help on using the changeset viewer.