Changeset 29449 for branches/eam_branches/ipp-20100823/psModules/src/imcombine/pmSubtractionVisual.c
- Timestamp:
- Oct 17, 2010, 9:10:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100823/psModules/src/imcombine/pmSubtractionVisual.c
r29148 r29449 146 146 } 147 147 pmVisualScaleImage(kapa1, canvas, "Subtraction_Stamps", 0, true); 148 psFree(canvas); 148 149 149 150 pmVisualAskUser(&plotStamps); … … 281 282 } 282 283 } 283 fprintf (stderr, "kernel %d, sum %f\n", i, sum);284 // fprintf (stderr, "kernel %d, sum %f\n", i, sum); 284 285 } 285 286 286 287 pmVisualScaleImage(kapa1, output, "Image", 0, true); 288 psFree(output); 287 289 pmVisualAskUser(&plotImage); 288 290 return true; … … 309 311 if (!isfinite(stamp->flux)) continue; 310 312 if (!stamp->convolutions1 && !stamp->convolutions2) continue; 311 fprintf (stderr, "flux: %f, maxFlux: %f ", stamp->flux, maxFlux);313 // fprintf (stderr, "flux: %f, maxFlux: %f ", stamp->flux, maxFlux); 312 314 if (!maxStamp) { 313 315 maxFlux = stamp->flux; 314 316 maxStamp = stamp; 315 fprintf (stderr, "maxStamp %d\n", i);317 // fprintf (stderr, "maxStamp %d\n", i); 316 318 continue; 317 319 } else { 318 fprintf (stderr, "\n");320 // fprintf (stderr, "\n"); 319 321 } 320 322 if (stamp->flux > maxFlux) { … … 361 363 } 362 364 } 363 fprintf (stderr, "kernel %d, sum %f, sum2: %e\n", i, sum, sum2);365 // fprintf (stderr, "kernel %d, sum %f, sum2: %e\n", i, sum, sum2); 364 366 } 365 367 pmVisualScaleImage(kapa2, output, "Image", 0, true); … … 403 405 } 404 406 } 405 fprintf (stderr, "kernel %d, sum %f, sum2: %e\n", i, sum, sum2);407 // fprintf (stderr, "kernel %d, sum %f, sum2: %e\n", i, sum, sum2); 406 408 } 407 409 pmVisualScaleImage(kapa2, output, "Image", 1, true); … … 412 414 psFitsClose(fits); 413 415 } 416 psFree(output); 414 417 } 415 418 … … 708 711 psFree (x); 709 712 psFree (y); 713 psFree (polyValues); 710 714 711 715 pmVisualAskUser(NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
