IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 6, 2022, 3:52:41 PM (4 years ago)
Author:
eugene
Message:

pass user option LMM_FIT_USE_REWEIGHTING to pmSourceFitOptions (which carries the value to psMinimization)

File:
1 edited

Legend:

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

    r38534 r42015  
    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.