IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 12, 2005, 3:49:21 PM (21 years ago)
Author:
eugene
Message:

rework with masks and noise array

File:
1 edited

Legend:

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

    r4215 r4216  
    2323
    2424    // define model fit pixels
    25     // XXX use a different radius - PSF_FIT_RADIUS?
     25    // check that FIT_RADIUS < OUTER_RADIUS
    2626    float RADIUS   = psMetadataLookupF32 (&status, config, "FIT_RADIUS");
    27 
    28     for (int i = 0; i < stars->n; i++) {
    29         psSource *source = stars->data[i];
    30         pmSourceSetPixelCircle (source, image, RADIUS);
    31     }
    3227
    3328    // the user specifies 1 or more PSF model options
     
    3833        sprintf (key, "PSF_MODEL_%d", i);
    3934        modelName = psMetadataLookupPtr (&status, config, key);
    40         tests->data[i] = pmPSF_TestModel (stars, modelName);
     35        tests->data[i] = pmPSF_TestModel (stars, modelName, RADIUS);
    4136    }
    4237
Note: See TracChangeset for help on using the changeset viewer.