Skip to content

Issue in 2D model unbinned data construction #483

Answered by jonas-eschle
zazbone asked this question in Q&A
Discussion options

You must be logged in to vote

(moved this to be a discussion)

Ok, it works, so it is not mandatory to use only backend independent functions from zfit.z ?

It is not, but recomendable. You could implement the Gauss just yourself (exp(...)).

And other zfit PDF or custom PDF are not usable to compose others ?

They are. If you're interested to use them (and you could also use them in this case), you can create a functor, but you can't directly make auto-compositions of variables such as RooFit does (on the other hand, anything custom is rather simple to implement).

In my use case, the model that I use is a PDF sum (with a fraction) of a crystal ball and a Gaussian dist. Should I rewrite SumPDF and the crystal ball wi…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zazbone
Comment options

You must be logged in to vote
3 replies
@jonas-eschle
Comment options

@zazbone
Comment options

@jonas-eschle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #482 on July 28, 2023 18:03.