IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2005, 3:23:24 AM (21 years ago)
Author:
eugene
Message:

mask/noise are working

File:
1 edited

Legend:

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

    r4216 r4251  
    55// run this function to a specific flux limit?
    66
    7 bool apply_psf_model (psImage *image, psMetadata *config, psArray *sources, pmPSF *psf, psStats *sky)
     7bool apply_psf_model (psImageData *imdata, psMetadata *config, psArray *sources, pmPSF *psf, psStats *sky)
    88{
    99    bool  status;
     10    float x;
     11    float y;
    1012    int   Nfit = 0;
    1113    int   Niter = 0;
     
    4244        x = model->params->data.F32[2];
    4345        y = model->params->data.F32[3];
     46        // XXX I need to check if the model center has moved too much relative to the peak
    4447
    4548        // set the fit radius based on the object flux limit and the model
     
    5154        }
    5255       
    53         // mask off saturated pixels (move this to setup?)
    54         pmSourceMaskSaturated (source, SATURATE);
    55 
    5656        // check if we need to redefine the pixels
    5757        if (model->radius > OUTER) {
Note: See TracChangeset for help on using the changeset viewer.