Changeset 33429
- Timestamp:
- Mar 6, 2012, 1:52:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test/ppStack/src/ppStackMatch.c
r33415 r33429 6 6 #define COVAR_FRAC 0.01 // Truncation fraction for covariance matrix 7 7 8 //#define TESTING // Enable debugging output -- this needs cleaning up 9 10 #ifdef TESTING 8 #define TESTING // Enable debugging output -- this needs cleaning up 9 //MEH - modified TESTING to be outputs only, reuse convolved now own 10 //#define TESTING_REUSE_CONV // Enable debugging re-using convolved outputs from previous run 11 12 #ifdef TESTING_REUSE_CONV 11 13 // Read a FITS image 12 14 static bool readImage(psImage **target, // Target for image … … 153 155 if (options->convolve) { 154 156 pmReadout *conv = pmReadoutAlloc(NULL); // Conv readout, for holding results temporarily 155 #ifdef TESTING 157 #ifdef TESTING_REUSE_CONV 156 158 // This is a hack to use the temporary convolved images and kernel generated previously. 157 159 // This makes the 'matching' operation much faster, allowing debugging of the stack process easier. … … 269 271 #endif 270 272 271 //#ifdef TESTING 272 #if 1 273 #ifdef TESTING 273 274 { 274 275 pmHDU *hdu = pmHDUFromCell(readout->parent); … … 359 360 360 361 361 //#ifdef TESTING 362 #if 1 362 #ifdef TESTING 363 363 { 364 364 pmHDU *hdu = pmHDUFromCell(readout->parent); … … 400 400 readout->variance = psMemIncrRefCounter(conv->variance); 401 401 readout->covariance = psImageCovarianceTruncate(conv->covariance, COVAR_FRAC); 402 #ifdef TESTING 402 #ifdef TESTING_REUSE_CONV 403 403 } 404 404 #endif … … 540 540 psFree(bg); 541 541 542 //#ifdef TESTING 543 #if 1 542 #ifdef TESTING 544 543 { 545 544 pmHDU *hdu = pmHDUFromCell(readout->parent);
Note:
See TracChangeset
for help on using the changeset viewer.
