IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2015, 3:23:53 PM (11 years ago)
Author:
bills
Message:

Handle pcm extended source models correctly in psphotSourceChildrenByReadout and psphotResetModels.
Avoid extra model convolutions.

File:
1 edited

Legend:

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

    r37881 r38515  
    149149    fitOptions->poissonErrors = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_FITS_POISSON");
    150150    if (!status) fitOptions->poissonErrors = true;
     151
     152    // Save pointer to fitOptions for possible use later reinstantiating the pcm models on the output readout
     153    psMetadataAddPtr (readout->analysis, PS_LIST_TAIL, "PCM_FIT_OPTIONS", PS_DATA_UNKNOWN | PS_META_REPLACE, "pcm fit options",
     154        fitOptions);
    151155
    152156    // maskVal is used to test for rejected pixels, and must include markVal
Note: See TracChangeset for help on using the changeset viewer.