Skip to content

Run trials for fixed gamma #425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Run trials for fixed gamma #425

wants to merge 2 commits into from

Conversation

sathanas31
Copy link
Contributor

Change the minimizer to accommodate for trials where gamma is fixed and only n_s is fitted.
To do so, set "fix_gamma" key to True in the mh_dict and have the same gamma in the llh and injection energy pdfs.
Changes relate to run_trial():

  1. the args passed in the function to minimize were changed (ie llh_f(ns, gamma)) for easier implementation at the minimization step (and better code readability too).
  2. its gamma param is then fixed to the llh gamma at the minimize method, while seed and bounds correspond only to ns
  3. fixed gamma is NOT implemented when minimizer doesn't converge

…llh gamma. Change llh_f() args to accommodate for fixing gamma in minimization step, change bounds and seed only for ns and fix the gamma when minimize in run_trial method. The fixed gamma changes are NOT implemented when minimizer doesn't converge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant