IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 7, 2012, 10:06:48 AM (14 years ago)
Author:
eugene
Message:

when growing the CR mask, copy the values into the existing readout->mask array, otherwise we lose the association to source->maskView; mask a small region for sources that have already been detected (the exclusion radius is curretnly set to 4 pixels, and is not user-specified; deactivate some test code; saturate linear fit fluxes to min valid flux (probably superfluous); calls to psphotFitSourcesLinear in psphotReadout should skip negative fluxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120905/psphot/src/psphotKronIterate.c

    r34404 r34415  
    321321            if (!source->peak) continue; // XXX how can we have a peak-less source?
    322322
     323# if (0)
     324# define TEST_X 653
     325# define TEST_Y 466
     326        if ((fabs(source->peak->xf - TEST_X) < 5) && (fabs(source->peak->yf - TEST_Y) < 5)) {
     327            fprintf (stderr, "test object\n");
     328        }
     329# undef TEST_X
     330# undef TEST_Y
     331# endif
     332
    323333            // check status of this source's moments
    324334            if (!source->moments) continue;
     
    541551    if (RF <= 0. || RS <= 0 || !isfinite(MrfTry)) {
    542552        // We did not get a good measurement
    543         source->moments->Mrf = NAN;
     553        source->moments->Mrf = NAN;
    544554        source->moments->KronFlux  = NAN;
    545555        source->moments->KronFluxErr  = NAN;
Note: See TracChangeset for help on using the changeset viewer.