IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2013, 2:57:09 PM (13 years ago)
Author:
eugene
Message:

add pcm->poissonErrors; if not(poissonErrors), set variance to a constant in pmPCM_Minimize.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c

    r36198 r36241  
    141141    fitOptions->chisqConvergence = chisqConvergence;
    142142    fitOptions->isInteractive    = isInteractive;
     143
     144    // use poissonian errors or local-sky errors
     145    fitOptions->poissonErrors = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_FITS_POISSON");
     146    if (!status) fitOptions->poissonErrors = true;
    143147
    144148    // maskVal is used to test for rejected pixels, and must include markVal
Note: See TracChangeset for help on using the changeset viewer.