Changeset 38535 for trunk/psphot/src/psphotReplaceUnfit.c
- Timestamp:
- Jun 24, 2015, 9:23:29 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReplaceUnfit.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReplaceUnfit.c
r38515 r38535 316 316 } 317 317 318 pmSourceFitOptions *fitOptions = psMetadataLookupPtr (&status, readout->analysis, "PCM_FIT_OPTIONS"); 319 psAssert (fitOptions, "missing pcm fit options"); 318 pmSourceFitOptions *fitOptions = NULL; 319 if (psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_FITS")) { 320 fitOptions = psMetadataLookupPtr (&status, readout->analysis, "PCM_FIT_OPTIONS"); 321 psAssert (fitOptions, "missing pcm fit options"); 322 } 320 323 321 324 // XXX the sources have already been copied (merge into here?) … … 397 400 pmPCMdata *pcm = pmPCMinit (source, fitOptions, model, maskVal, psfSize); 398 401 if (pcm) { 399 // pmPCMMakeModel (source, model, pcm->nsigma, maskVal, psfSize);400 402 pmPCMCacheModel (source, maskVal, psfSize, pcm->nsigma); 401 403 psFree(pcm);
Note:
See TracChangeset
for help on using the changeset viewer.
