IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2012, 11:50:18 AM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20120627/psphot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120627/psphot

  • branches/eam_branches/ipp-20120627/psphot/src

  • branches/eam_branches/ipp-20120627/psphot/src/psphotStackMatchPSFs.c

    r32868 r34247  
    8787    }
    8888
    89     // copy the header data from Src to Out
    90     // pmHDU *hduSrc = pmHDUFromReadout(readoutSrc);
    91     // psAssert (hduSrc, "input missing hdu?");
    92 
    93 
    9489    // set NAN pixels to 'SAT'
    9590    psImageMaskType maskSat = pmConfigMaskGet("SAT", config);
     
    116111    // save the output fwhm values in the readout->analysis.  we may have / will have multiple output PSF sizes,
    117112    // so we save this in a vector.  if the vector is not yet defined, create it
     113    // Skip this if the readout deconvolution fraction was over the limit.
    118114    // NOTE: fwhmValues as defined here has 1 + nMatched PSF : 0 == unmatched
    119115    psVector *fwhmValues = psVectorAllocEmpty(10, PS_TYPE_F32);
    120116    psVectorAppend(fwhmValues, NAN); // XXX this corresponds to the unmatched image set
    121     for (int i = 0; i < options->targetSeeing->n; i++) {
    122         psVectorAppend(fwhmValues, options->targetSeeing->data.F32[i]);
     117
     118    bool overLimit = psMetadataLookupBool(NULL, readoutOut->analysis, "DECONV.OVERLIMIT");
     119    if (!overLimit) {
     120        for (int i = 0; i < options->targetSeeing->n; i++) {
     121            psVectorAppend(fwhmValues, options->targetSeeing->data.F32[i]);
     122        }
    123123    }
    124124    psMetadataAddVector(readoutSrc->analysis, PS_LIST_TAIL, "STACK.PSF.FWHM.VALUES", PS_META_REPLACE, "PSF sizes", fwhmValues);
Note: See TracChangeset for help on using the changeset viewer.