Skip to content

Variable fit configurations #6

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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