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/psphotChoosePSF.c

    r37811 r42015  
    164164        // default to the old method (chisqConvergence)
    165165        chisqConvergence = true;
     166    }
     167
     168    bool useReweighting = psMetadataLookupBool (&status, recipe, "LMM_FIT_USE_REWEIGHTING"); // Fit tolerance
     169    if (!status) {
     170        useReweighting = false;
    166171    }
    167172
     
    185190    options->fitOptions->gainFactorMode   = gainFactorMode;
    186191    options->fitOptions->chisqConvergence = chisqConvergence;
     192    options->fitOptions->useReweighting   = useReweighting;
    187193
    188194    psArray *stars = psArrayAllocEmpty (sources->n);
Note: See TracChangeset for help on using the changeset viewer.