IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 17, 2014, 12:30:45 PM (12 years ago)
Author:
eugene
Message:

merge changes (from past YEAR) into trunk

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  
        2424psphotModelTest
        2525psphotMinimal
         26psphotFullForce
         27psmakecff
         28psphotFullForceSummary
    • Property svn:mergeinfo deleted
  • branches/eam_branches/ipp-ops-20130712/psphot/src/psphotBlendFit.c

    r35769 r37066  
    273273        pmSource *source = sources->data[i];
    274274
    275         int TEST_ON = false;
    276 # if (0)
     275# if (PS_TRACE_ON)
    277276# define TEST_X 653
    278277# 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)) {
    280281            fprintf (stderr, "test object\n");
    281282            psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5);
     
    342343        if (source->mode & PM_SOURCE_MODE_EXT_LIMIT) {
    343344            if (psphotFitBlob (readout, source, newSources, psf, fitOptions, maskVal, markVal)) {
     345# if (PS_TRACE_ON)
    344346                if (TEST_ON) {
    345347                    psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);
    346348                }
     349# endif
    347350                psTrace ("psphot", 5, "source at %7.1f, %7.1f is ext", source->peak->xf, source->peak->yf);
    348351                Next ++;
     
    351354        } else {
    352355            if (psphotFitBlend (readout, source, psf, fitOptions, maskVal, markVal)) {
     356# if (PS_TRACE_ON)
    353357                if (TEST_ON) {
    354358                    psTraceSetLevel("psLib.math.psMinimizeLMChi2", 0);
    355359                }
     360# endif
    356361                source->type = PM_SOURCE_TYPE_STAR;
    357362                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.