IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2011, 9:00:06 AM (15 years ago)
Author:
eugene
Message:

need to guess models for matched detections in order to get forced photometry -- this meant modifying psphotGuessModels to work on the allSources, not newSources and to test if the guess had previously been performed; updates to radial profile analysis to get smoother Krons -- this now agrees very well with sextractor (though my apertures are slightly smaller and not elliptical)

Location:
trunk/psphot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src

  • trunk/psphot/src/psphotKronIterate.c

    r32776 r32996  
    111111
    112112        pmSource *source = sources->data[i];
    113         if (!source->peak) continue; // XXX how can we have a peak-less source?
    114 
    115         // allocate space for moments
    116         if (!source->moments) continue;
    117113
    118114        // set a window function for each source based on the moments
     115        // (this skips really bad sources (no peak, no moments, DEFECT)
    119116        psphotKronWindowSetSource (source, kronWindow, false, true);
    120117    }
     
    401398
    402399    if (!source) return false;
     400    if (!source->peak) return false; // XXX how can we have a peak-less source?
    403401    if (!source->moments) return false;
     402    if (source->type == PM_SOURCE_TYPE_DEFECT) return false;
     403    if (source->type == PM_SOURCE_TYPE_SATURATED) return false;
    404404    psAssert(kronWindow, "need a window");
    405405
Note: See TracChangeset for help on using the changeset viewer.