Changeset 25766 for branches/eam_branches/20090820/ppStack/src/ppStackPSF.c
- Timestamp:
- Oct 2, 2009, 5:10:19 PM (17 years ago)
- Location:
- branches/eam_branches/20090820
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStack/src/ppStackPSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090820
- Property svn:mergeinfo changed
-
branches/eam_branches/20090820/ppStack/src/ppStackPSF.c
r23192 r25766 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.
