- Timestamp:
- Mar 5, 2012, 5:19:48 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStack/src/ppStackMatch.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/ppStack/src/ppStackMatch.c
r32161 r33415 6 6 #define COVAR_FRAC 0.01 // Truncation fraction for covariance matrix 7 7 8 // #define TESTING // Enable debugging output8 //#define TESTING // Enable debugging output -- this needs cleaning up 9 9 10 10 #ifdef TESTING … … 259 259 fake->image = psImageCopy(NULL, target, PS_TYPE_F32); 260 260 fake->mask = psImageCopy(NULL, readout->mask, PS_TYPE_IMAGE_MASK); 261 //MEH add fake->variance just as fake->image for testing passing along fully make difference in soln 262 //fake->variance = psImageCopy(NULL, target, PS_TYPE_F32); 261 263 262 264 #if 1 … … 267 269 #endif 268 270 269 #ifdef TESTING 271 //#ifdef TESTING 272 #if 1 270 273 { 271 274 pmHDU *hdu = pmHDUFromCell(readout->parent); … … 313 316 // we need to register the FWHM values for use downstream 314 317 pmSubtractionSetFWHMs(options->targetSeeing, options->inputSeeing->data.F32[index]); 318 //MEH -- seems to not be used now that kron R is in pmSubtractionMatch 319 psLogMsg("ppStack", PS_LOG_INFO, "TESTING:: FWHM %f %f\n",options->targetSeeing,options->inputSeeing->data.F32[index]); 315 320 316 321 // Scale the input parameters … … 334 339 // } 335 340 336 if (!pmSubtractionMatch(NULL, conv, fake, readout, footprint, stride, regionSize, spacing,341 if (!pmSubtractionMatch(NULL, conv, fake, readout, footprint, stride, regionSize, spacing, 337 342 threshold, options->sources, stampsName, type, size, order, widthsCopy, 338 343 orders, inner, ringsOrder, binning, penalty, … … 354 359 355 360 356 #ifdef TESTING 361 //#ifdef TESTING 362 #if 1 357 363 { 358 364 pmHDU *hdu = pmHDUFromCell(readout->parent); … … 441 447 assert(item->type == PS_DATA_UNKNOWN); 442 448 pmSubtractionKernels *kernels = item->data.V; // Convolution kernels 443 // EAM/MEH sum the RMS instead of the mean now 449 // EAM/MEH sum the RMS instead of the mean now 444 450 sum += kernels->rms; 445 451 num++; … … 534 540 psFree(bg); 535 541 536 #ifdef TESTING 542 //#ifdef TESTING 543 #if 1 537 544 { 538 545 pmHDU *hdu = pmHDUFromCell(readout->parent);
Note:
See TracChangeset
for help on using the changeset viewer.
