IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30343


Ignore:
Timestamp:
Jan 22, 2011, 11:59:23 AM (15 years ago)
Author:
eugene
Message:

clipping bad stamp stars (S/N < 20, psf-ap mag too deviant)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/psModules/src/imcombine/pmSubtractionStamps.c

    r30334 r30343  
    11861186        }
    11871187       
    1188         // XXX TEST
    1189         if (source->errMag > 0.1) continue;
     1188        // XXX this is somewhat arbitrary...
     1189        if (source->errMag > 0.05) continue;
     1190        if (fabs(source->psfMag - source->apMag) > 0.5) continue;
    11901191
    11911192        if (source->modelPSF) {
     
    11961197            y->data.F32[numOut] = source->peak->yf;
    11971198        }
    1198         // fprintf (stderr, "stamp: %5.1f %5.1f\n", x->data.F32[numOut], y->data.F32[numOut]);
    11991199        numOut++;
    12001200    }
Note: See TracChangeset for help on using the changeset viewer.