IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2015, 1:54:23 PM (11 years ago)
Author:
bills
Message:

add code to allow psphotFullForce to set a quality value when background modeling fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadoutCleanup.c

    r37932 r37941  
    5454    psArray      *sources    = detections ? detections->allSources : NULL;
    5555    // XXX where do we free these, in here (psMetadataRemove?)
     56
     57    int quality = psMetadataLookupS32 (&status, readout->analysis, "PSPHOT_QUALITY");
     58    if (quality) {
     59        // if there is no stats file this will be a no-op
     60        psphotStatsFileSetQuality(quality);
     61    }
    5662
    5763    // use the psf-model to measure FWHM stats
Note: See TracChangeset for help on using the changeset viewer.