IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2022, 2:36:39 PM (4 years ago)
Author:
eugene
Message:

especially in very high-dynamic range stack images, the peak pixels can drive the PSF fit too much: add an option for iterative reweighting of the pixel values during the non-linear fit

File:
1 edited

Legend:

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

    r38534 r42087  
    120120        // default to the old method (chisqConvergence)
    121121        chisqConvergence = true;
     122    }
     123
     124    bool useReweighting = psMetadataLookupBool (&status, recipe, "LMM_FIT_USE_REWEIGHTING"); // Fit tolerance
     125    if (!status) {
     126        useReweighting = false;
    122127    }
    123128
     
    145150    fitOptions->chisqConvergence = chisqConvergence;
    146151    fitOptions->isInteractive    = isInteractive;
     152    fitOptions->useReweighting   = useReweighting;
    147153
    148154    // use poissonian errors or local-sky errors
Note: See TracChangeset for help on using the changeset viewer.