Skip to content
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

closed form density functions as additive modifiers #2062

Open
1 task done
lukasheinrich opened this issue Nov 15, 2022 · 1 comment
Open
1 task done

closed form density functions as additive modifiers #2062

lukasheinrich opened this issue Nov 15, 2022 · 1 comment
Labels
feat/enhancement New feature or request needs-triage Needs a maintainer to categorize and assign

Comments

@lukasheinrich
Copy link
Contributor

Summary

This is a slight variation of #1991 in so far that instead of a multiplicative modifer f(pars) that is multiplied to all bins in a sample, this allows an additive modifier f(x,pars) where x is the channel observable.

This is likely a highly non-optimized implementation (esp the integration using scipy.quad and a python loop over bins), but it shows that things are possible

https://gist.github.com/lukasheinrich/85c0e6079ff8408edf3cf8d7acb182a8

Additional Information

n/a

Code of Conduct

  • I agree to follow the Code of Conduct
@lukasheinrich lukasheinrich added feat/enhancement New feature or request needs-triage Needs a maintainer to categorize and assign labels Nov 15, 2022
@lukasheinrich
Copy link
Contributor Author

A little video

Screen.Recording.2022-11-13.at.18.42.04.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/enhancement New feature or request needs-triage Needs a maintainer to categorize and assign
Projects
None yet
Development

No branches or pull requests

1 participant