IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 13, 2005, 3:35:20 PM (21 years ago)
Author:
eugene
Message:

substantial work to match with psLib v.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotApplyPSF.c

    r4977 r5048  
    3939        // skip non-astronomical objects (very likely defects)
    4040        // XXX EAM : should we try these anyway?
    41         if (source->type == PS_SOURCE_DEFECT) continue;
    42         if (source->type == PS_SOURCE_SATURATED) continue;
     41        if (source->type == PM_SOURCE_DEFECT) continue;
     42        if (source->type == PM_SOURCE_SATURATED) continue;
    4343
    4444        // use the source moments, etc to guess basic model parameters
     
    6565        }
    6666
    67         if (i > 66) psTraceSetLevel (".psLib.dataManip.psMinimizeLMChi2", 5);
     67        // if (i > 66) psTraceSetLevel (".psLib.dataManip.psMinimizeLMChi2", 5);
    6868           
    6969        // fit PSF model (set/unset the pixel mask)
     
    7373        if (!status || (model->params->data.F32[1] < 0)) {
    7474          psLogMsg ("psphot", 3, "PSF fit failed for %f, %f (%d iterations)\n", x, y, model->nIter);
    75           source->type = PS_SOURCE_FAIL_FIT_PSF;  // better choice?
     75          source->type = PM_SOURCE_FAIL_FIT_PSF;  // better choice?
    7676          psFree (model);
    7777          continue;
Note: See TracChangeset for help on using the changeset viewer.