IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2010, 10:44:07 PM (16 years ago)
Author:
Paul Price
Message:

Concepts come from the concepts, not the analysis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubMatchPSFs.c

    r26971 r26974  
    144144    psAssert (refSources, "missing refSources?");
    145145
    146     float inFWHM = psMetadataLookupF32(NULL, inRO->parent->parent->analysis, "CHIP.SEEING"); // FWHM for input
    147     if (!isfinite(inFWHM)) {
     146    float inFWHM = psMetadataLookupF32(NULL, inRO->parent->parent->concepts, "CHIP.SEEING"); // FWHM for input
     147    if (!isfinite(inFWHM) || inFWHM == 0.0) {
    148148        inFWHM = subImagePSF(data, inRO, inSources);
    149149    }
    150     float refFWHM = psMetadataLookupF32(NULL, refRO->parent->parent->analysis, "CHIP.SEEING"); // FWHM for ref
    151     if (!isfinite(refFWHM)) {
     150    float refFWHM = psMetadataLookupF32(NULL, refRO->parent->parent->concepts, "CHIP.SEEING"); // FWHM for ref
     151    if (!isfinite(refFWHM) || refFWHM == 0.0) {
    152152        refFWHM = subImagePSF(data, refRO, refSources);
    153153    }
Note: See TracChangeset for help on using the changeset viewer.