Skip to content

Variable fit configurations #6

@eschanet

Description

@eschanet

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,
    )

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions