I want to be able to do something like
simplify -f mu_SIG:1.0 inputLH.json > simplifiedLH.json
to run a fit with (in this case) the parameter mu_SIG is fixed (to 1.0 here).
This should be relatively simple to implement, just needs to propagate fixed parameters through fitter.fit() to pyhf like:
pyhf.infer.mle.fit(
data,
model,
init_pars=init_pars,
fixed_params=fixed_pars,
return_uncertainties=True,
return_result_obj=True,
)
I want to be able to do something like
simplify -f mu_SIG:1.0 inputLH.json > simplifiedLH.jsonto run a fit with (in this case) the parameter
mu_SIGis fixed (to 1.0 here).This should be relatively simple to implement, just needs to propagate fixed parameters through
fitter.fit()to pyhf like: