IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42364


Ignore:
Timestamp:
Feb 4, 2023, 11:55:29 AM (3 years ago)
Author:
eugene
Message:

merge from trunk: minor trace changes

Location:
branches/eam_branches/ipp-20220316/psphot
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/psphot

  • branches/eam_branches/ipp-20220316/psphot/src/psphotBlendFit.c

    r42087 r42364  
    264264# define TEST_X 653
    265265# define TEST_Y 466
    266 # define TESTING 1
     266# define TESTING 0
    267267        int TEST_ON = false;
    268268        if (TESTING && (fabs(source->peak->xf - TEST_X) < 5) && (fabs(source->peak->yf - TEST_Y) < 5)) {
    269269            fprintf (stderr, "test object\n");
    270             psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5);
     270            // psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5);
    271271            TEST_ON = true;
    272272        }
     
    333333# if (PS_TRACE_ON)
    334334                if (TEST_ON) {
    335                     psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);
     335                  // psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);
    336336                }
    337337# endif
     
    344344# if (PS_TRACE_ON)
    345345                if (TEST_ON) {
    346                     psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);
     346                  // psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);
    347347                }
    348348# endif
  • branches/eam_branches/ipp-20220316/psphot/src/psphotExtendedSourceFits.c

    r42087 r42364  
    493493        if (testObject) {
    494494            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);
    497497        }
    498498# endif
     
    690690# ifdef TEST_OBJECT
    691691        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);
    694694        }
    695695# endif
  • branches/eam_branches/ipp-20220316/psphot/src/psphotSourceFits.c

    r42088 r42364  
    526526    }
    527527    if (psTraceGetLevel ("psphot") >= 7) {
    528       psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5);
     528      // psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5);
    529529    }
    530530# endif
     
    557557      }
    558558    }
    559     psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);
     559    // psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);
    560560# endif
    561561
Note: See TracChangeset for help on using the changeset viewer.