IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2011, 8:53:12 AM (15 years ago)
Author:
eugene
Message:

adding flag to mark PASS1 (vs PASS2) detections; moving AP_MAGS flag inot pmSourcePhotometry; bad mask was missing suspect bits (logic error in I/O writing MASK.PSPHOT - added explicitly to maskPoor in PSF_QF_PERFECT; limit Kron radius at upper and lower bounds; use non-linear position errors only for PSF sources in PSF output (extended sources not fitted with non-linear PSF model); make sure pmSourceCopy gets all the elements of the structure that it needs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110404/psModules/src/objects/pmSource.c

    r31153 r31312  
    199199    source->type = in->type;
    200200    source->mode = in->mode;
     201    source->mode2 = in->mode2;
     202    source->tmpFlags = in->tmpFlags;
    201203    source->imageID = in->imageID;
     204
     205    source->psfMag             = in->psfMag;
     206    source->psfFlux            = in->psfFlux;
     207    source->psfFluxErr         = in->psfFluxErr;
     208    source->extMag             = in->extMag;
     209    source->errMag             = in->errMag;
     210    source->apMag              = in->apMag;
     211    source->apMagRaw           = in->apMagRaw;
     212    source->apRadius           = in->apRadius;
     213    source->apFlux             = in->apFlux;
     214    source->apFluxErr          = in->apFluxErr;
     215    source->pixWeightNotBad    = in->pixWeightNotBad;
     216    source->pixWeightNotPoor   = in->pixWeightNotPoor;
     217    source->psfChisq           = in->psfChisq;
     218    source->crNsigma           = in->crNsigma;
     219    source->extNsigma          = in->extNsigma;
     220    source->sky                = in->sky;
     221    source->skyErr             = in->skyErr;
    202222
    203223    return(source);
     
    486506        // create vectors with Sx, Sy values in window
    487507        // clip sources based on S/N
    488         for (psS32 i = 0 ; i < sources->n ; i++)
     508        for (psS32 i = 0; i < sources->n; i++)
    489509        {
    490510            pmSource *tmpSrc = (pmSource *) sources->data[i];
Note: See TracChangeset for help on using the changeset viewer.