Skip to content

closed form density functions as additive modifiers #2062

@lukasheinrich

Description

@lukasheinrich

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat/enhancementNew feature or requestneeds-triageNeeds a maintainer to categorize and assign

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions