Refinement
Control how the grid refines based on result metrics.
Units
LocalMinimaUnit(:chi2_marginalized)
— focus on local minima of a metricFullUnit()
— dense refinement everywhereDiffUnit()
/RelDiffUnit()
— refine where absolute/relative differences are largeContourUnit(levels)
/DiffContourUnit(levels)
— contour-based refinement
Combine units in RefinementSettings((units...,))
. The grid engine can save chosen metric names in params_to_save
for later analysis.
Example
ref = RefinementSettings((LocalMinimaUnit(:chi2_marginalized), ContourUnit([2.3, 6.17])))