IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2010, 2:54:22 PM (16 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20100823

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSource.c

    r29004 r29546  
    132132
    133133    // default values are NAN
    134     source->psfMag     = NAN;
    135     source->psfFlux    = NAN;
    136     source->psfFluxErr = NAN;
    137     source->extMag = NAN;
    138     source->errMag = NAN;
    139     source->apMag  = NAN;
    140     source->sky    = NAN;
    141     source->skyErr = NAN;
    142     source->pixWeightNotBad = NAN;
     134    source->psfMag           = NAN;
     135    source->psfFlux          = NAN;
     136    source->psfFluxErr       = NAN;
     137    source->extMag           = NAN;   
     138    source->errMag           = NAN;
     139    source->apMag            = NAN;
     140    source->apMagRaw         = NAN;
     141    source->apRadius         = NAN;
     142    source->apFlux           = NAN;
     143    source->apFluxErr        = NAN;
     144    source->sky              = NAN;
     145    source->skyErr           = NAN;   
     146    source->pixWeightNotBad  = NAN;
    143147    source->pixWeightNotPoor = NAN;
    144148
    145     source->psfChisq = NAN;
    146     source->crNsigma = NAN;
    147     source->extNsigma = NAN;
     149    source->psfChisq         = NAN;
     150    source->crNsigma         = NAN;
     151    source->extNsigma        = NAN;
    148152
    149153    psTrace("psModules.objects", 10, "---- end ----\n");
     
    644648        // The following determinations require the use of moments
    645649        if (!(source->mode & noMoments)) {
    646             // likely defect (too small to be stellar) (push out to 3 sigma)
    647             // low S/N objects which are small are probably stellar
    648             // XXX these limits are quite arbitrary
    649             if (sigX < 0.05 || sigY < 0.05) {
     650            // likely defect (bright, but too small to be stellar)
     651            // XXX eliminate the classification?
     652            if ((source->moments->SN > 10) && (sigX < 0.05 || sigY < 0.05)) {
    650653                source->type = PM_SOURCE_TYPE_DEFECT;
    651654                source->mode |= PM_SOURCE_MODE_DEFECT;
Note: See TracChangeset for help on using the changeset viewer.