- Timestamp:
- Jul 17, 2014, 12:30:45 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-ops-20130712/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-ops-20130712/psphot
- Property svn:mergeinfo deleted
-
branches/eam_branches/ipp-ops-20130712/psphot/src
- Property svn:ignore
-
old new 24 24 psphotModelTest 25 25 psphotMinimal 26 psphotFullForce 27 psmakecff 28 psphotFullForceSummary
-
- Property svn:mergeinfo deleted
- Property svn:ignore
-
branches/eam_branches/ipp-ops-20130712/psphot/src/psphotBlendFit.c
r35769 r37066 273 273 pmSource *source = sources->data[i]; 274 274 275 int TEST_ON = false; 276 # if (0) 275 # if (PS_TRACE_ON) 277 276 # define TEST_X 653 278 277 # define TEST_Y 466 279 if ((fabs(source->peak->xf - TEST_X) < 5) && (fabs(source->peak->yf - TEST_Y) < 5)) { 278 # define TESTING 1 279 int TEST_ON = false; 280 if (TESTING && (fabs(source->peak->xf - TEST_X) < 5) && (fabs(source->peak->yf - TEST_Y) < 5)) { 280 281 fprintf (stderr, "test object\n"); 281 282 psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5); … … 342 343 if (source->mode & PM_SOURCE_MODE_EXT_LIMIT) { 343 344 if (psphotFitBlob (readout, source, newSources, psf, fitOptions, maskVal, markVal)) { 345 # if (PS_TRACE_ON) 344 346 if (TEST_ON) { 345 347 psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0); 346 348 } 349 # endif 347 350 psTrace ("psphot", 5, "source at %7.1f, %7.1f is ext", source->peak->xf, source->peak->yf); 348 351 Next ++; … … 351 354 } else { 352 355 if (psphotFitBlend (readout, source, psf, fitOptions, maskVal, markVal)) { 356 # if (PS_TRACE_ON) 353 357 if (TEST_ON) { 354 358 psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0); 355 359 } 360 # endif 356 361 source->type = PM_SOURCE_TYPE_STAR; 357 362 psTrace ("psphot", 5, "source at %7.1f, %7.1f is psf", source->peak->xf, source->peak->yf);
Note:
See TracChangeset
for help on using the changeset viewer.
