Changeset 25624 for branches/eam_branches/20090715/ppStack/src/ppStackPSF.c
- Timestamp:
- Sep 27, 2009, 11:34:07 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/ppStack/src/ppStackPSF.c
r23192 r25624 9 9 #include "ppStack.h" 10 10 11 //#define TESTING 12 11 13 pmPSF *ppStackPSF(const pmConfig *config, int numCols, int numRows, 12 14 const psArray *psfs, const psVector *inputMask) 13 15 { 16 #ifndef TESTING 14 17 // Get the recipe values 15 18 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe … … 35 38 return NULL; 36 39 } 40 #else 41 // Dummy PSF 42 pmPSF *psf = pmPSFBuildSimple("PS_MODEL_PS1_V1", 4.0, 4.0, 0.0, 1.0); 43 if (!psf) { 44 psError(PS_ERR_UNKNOWN, false, "Unable to build dummy PSF."); 45 return NULL; 46 } 47 #endif 37 48 38 49 return psf;
Note:
See TracChangeset
for help on using the changeset viewer.
