- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppImage/src/ppImageReplaceBackground.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ppImage/src/ppImageReplaceBackground.c
r24564 r27840 74 74 pmReadout *modelRO = NULL; 75 75 pmFPAfile *modelFile = psMetadataLookupPtr(&status, config->files, "PSPHOT.BACKMDL"); // Background model 76 if (modelFile ) {76 if (modelFile && modelFile->fpa) { 77 77 modelRO = pmFPAviewThisReadout(&roView, modelFile->fpa); // Background model 78 78 } … … 80 80 // the background model has not been defined, or at least not generated 81 81 if (!modelFile || !modelRO) { 82 if (!psphotModelBackground (config, &roView, "PPIMAGE.CHIP")) {82 if (!psphotModelBackgroundReadoutFileIndex(config, &roView, "PPIMAGE.CHIP", 0)) { 83 83 psError(PS_ERR_UNKNOWN, false, "Unable to model background"); 84 84 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
