IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 13, 2005, 6:43:44 AM (21 years ago)
Author:
eugene
Message:

substantial work on ensemble PSF fitting, better functions for evaluation, overall code cleanups

File:
1 edited

Legend:

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

    r5718 r5772  
    1212    // source analysis is done in spatial order
    1313    sources = psArraySort (sources, psphotSortByY);
    14 
    15     // this should be added to the PM_SOURCE flags:
    16     int PM_SOURCE_BLEND = PM_SOURCE_OTHER + 1;
    1714
    1815    float OUTER_RADIUS     = psMetadataLookupF32 (&status, config, "SKY_OUTER_RADIUS");
     
    3532        // skip non-astronomical objects (very likely defects)
    3633        // XXX EAM : should we try these anyway?
    37         if (inSource->type == PM_SOURCE_BLEND) continue;
     34        if (inSource->mode & PM_SOURCE_BLEND) continue;
    3835        if (inSource->type == PM_SOURCE_DEFECT) continue;
    3936        if (inSource->type == PM_SOURCE_SATURATED) continue;
     
    7370        psImage *mask = otSource->mask;
    7471
    75         // XXX EAM : set model to unit peak, zero sky, maybe use peak (x,y)
     72        // XXX EAM : use these lines to fit to the peak
    7673        // model->params->data.F32[2] = inSource->peak->x;
    7774        // model->params->data.F32[3] = inSource->peak->y;
     75        // XXX EAM : better option: improve the peak with 2D poly fit 3x3
     76
     77        // set model to unit peak, zero sky (we assume sky is constant)
    7878        model->params->data.F32[0] = 0.0;
    7979        model->params->data.F32[1] = 1.0;
Note: See TracChangeset for help on using the changeset viewer.