IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 12, 2006, 8:59:15 PM (20 years ago)
Author:
eugene
Message:

tests on non-poisson errors, updates to image background, tests of systematic biases, updates to use pmFPAfile paradigm

File:
1 edited

Legend:

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

    r6715 r6851  
    2727    int NSTARS = psMetadataLookupS32 (&status, config, "PSF_MAX_NSTARS");
    2828    if (!status) NSTARS = PS_MIN (sources->n, 200);
     29
     30    // use poissonian errors or local-sky errors
     31    bool POISSON_ERRORS = psMetadataLookupBool (&status, config, "POISSON_ERRORS");
     32    if (!status) POISSON_ERRORS = true;
     33    pmSourceFitModelInit (15, 0.1, POISSON_ERRORS);
    2934
    3035    stars = psArrayAlloc (sources->n);
     
    6368        psMetadataItem *item = psListGetAndIncrement (iter);
    6469        modelName = item->data.V;
    65         models->data[i] = pmPSFtryModel (stars, modelName, RADIUS);
     70        models->data[i] = pmPSFtryModel (stars, modelName, RADIUS, POISSON_ERRORS);
    6671    }
    6772    psFree (iter);
Note: See TracChangeset for help on using the changeset viewer.