Changeset 42254 for trunk/psphot/src
- Timestamp:
- Jul 14, 2022, 3:01:13 PM (4 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 3 edited
-
psphotBlendFit.c (modified) (3 diffs)
-
psphotExtendedSourceFits.c (modified) (2 diffs)
-
psphotSourceFits.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotBlendFit.c
r42253 r42254 264 264 # define TEST_X 653 265 265 # define TEST_Y 466 266 # define TESTING 0266 # define TESTING 1 267 267 int TEST_ON = false; 268 268 if (TESTING && (fabs(source->peak->xf - TEST_X) < 5) && (fabs(source->peak->yf - TEST_Y) < 5)) { 269 269 fprintf (stderr, "test object\n"); 270 //psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5);270 psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5); 271 271 TEST_ON = true; 272 272 } … … 333 333 # if (PS_TRACE_ON) 334 334 if (TEST_ON) { 335 //psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);335 psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0); 336 336 } 337 337 # endif … … 344 344 # if (PS_TRACE_ON) 345 345 if (TEST_ON) { 346 //psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);346 psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0); 347 347 } 348 348 # endif -
trunk/psphot/src/psphotExtendedSourceFits.c
r42253 r42254 493 493 if (testObject) { 494 494 fprintf (stderr, "test object @ %f, %f\n", source->peak->xf, source->peak->yf); 495 //psTraceSetLevel ("psModules.objects.pmPCM_MinimizeChisq", 5);496 //psTraceSetLevel ("psphot.psphotExtendedSourceFits_Threaded", 5);495 psTraceSetLevel ("psModules.objects.pmPCM_MinimizeChisq", 5); 496 psTraceSetLevel ("psphot.psphotExtendedSourceFits_Threaded", 5); 497 497 } 498 498 # endif … … 690 690 # ifdef TEST_OBJECT 691 691 if (testObject) { 692 //psTraceSetLevel ("psModules.objects.pmPCM_MinimizeChisq", 0);693 //psTraceSetLevel ("psphot.psphotExtendedSourceFits_Threaded", 0);692 psTraceSetLevel ("psModules.objects.pmPCM_MinimizeChisq", 0); 693 psTraceSetLevel ("psphot.psphotExtendedSourceFits_Threaded", 0); 694 694 } 695 695 # endif -
trunk/psphot/src/psphotSourceFits.c
r42253 r42254 526 526 } 527 527 if (psTraceGetLevel ("psphot") >= 7) { 528 //psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5);528 psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5); 529 529 } 530 530 # endif … … 557 557 } 558 558 } 559 //psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);559 psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0); 560 560 # endif 561 561
Note:
See TracChangeset
for help on using the changeset viewer.
