Changeset 25414
- Timestamp:
- Sep 15, 2009, 6:02:12 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackPSF.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackPSF.c
r25413 r25414 14 14 const psArray *psfs, const psVector *inputMask) 15 15 { 16 #ifndef TESTING 16 17 // Get the recipe values 17 18 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe … … 30 31 } 31 32 32 #ifdef TESTING33 // Dummy PSF34 pmPSF *psf = pmPSFBuildSimple("PS_MODEL_GAUSS", 7.0, 7.0, 0.0);35 if (!psf) {36 psError(PS_ERR_UNKNOWN, false, "Unable to build dummy PSF.");37 return NULL;38 }39 #else40 33 // Solve for the target PSF 41 34 pmPSF *psf = pmPSFEnvelope(numCols, numRows, psfs, psfInstances, psfRadius, psfModel, … … 45 38 return NULL; 46 39 } 40 #else 41 // Dummy PSF 42 pmPSF *psf = pmPSFBuildSimple("PS_MODEL_GAUSS", 7.0, 7.0, 0.0); 43 if (!psf) { 44 psError(PS_ERR_UNKNOWN, false, "Unable to build dummy PSF."); 45 return NULL; 46 } 47 47 #endif 48 48
Note:
See TracChangeset
for help on using the changeset viewer.
