IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2005, 8:41:28 PM (21 years ago)
Author:
eugene
Message:

using source masks to select PSF stars

File:
1 edited

Legend:

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

    r4115 r4116  
    11# include "psphot.h"
    22
    3 // fit psf model to all objects not already fitted (modelPSF == NULL)
     3// fit psf model to all objects
     4// PSFSTAR objects will be refitted
    45// run this function to a specific flux limit?
     6
    57
    68bool apply_psf_model (psImage *image, psMetadata *config, psArray *sources, pmPSF *psf, psStats *sky)
     
    3537        psSource *source = sources->data[i];
    3638
    37         // skip the existing PSF stars
    38         // XXX drop this -- refit?
    39         if (source->modelPSF != NULL) continue;
    40 
    4139        // skip non-astronomical objects (very likely defects)
    4240        if (source->type == PS_SOURCE_DEFECT) continue;
     
    5452        if (isnan(model->radius)) {
    5553          fprintf (stderr, "error in radius\n");
     54          continue;
    5655        }
    5756           
Note: See TracChangeset for help on using the changeset viewer.