Changeset 25413
- Timestamp:
- Sep 15, 2009, 5:52:15 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackPSF.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackPSF.c
r23192 r25413 8 8 9 9 #include "ppStack.h" 10 11 //#define TESTING 10 12 11 13 pmPSF *ppStackPSF(const pmConfig *config, int numCols, int numRows, … … 28 30 } 29 31 32 #ifdef TESTING 33 // Dummy PSF 34 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 #else 30 40 // Solve for the target PSF 31 41 pmPSF *psf = pmPSFEnvelope(numCols, numRows, psfs, psfInstances, psfRadius, psfModel, … … 35 45 return NULL; 36 46 } 47 #endif 37 48 38 49 return psf;
Note:
See TracChangeset
for help on using the changeset viewer.
