Questions tagged [zfit]

zfit: scalable pythonic fitting

The zfit package is a model manipulation and fitting library based on TensorFlow and optimised for simple and direct manipulation of probability density functions. Its main focus is on scalability, parallelisation and user friendly experience. It integrates well into the scientific Python ecosystem and provides an alternative to the current fitting libraries, especially the ones used in High Energy Physics.

20 questions
0
votes
0 answers

Landau function in Zfit

I would like to try to fit a dataset with the sum of two landaus by using Zfit. From what I see, the Landau function is not within the default PDFs, so I am trying to implement it as a custom PDF. My idea was to use pylandau and I made an attempt in…
aleolomorfo
  • 133
  • 1
  • 5
0
votes
1 answer

"TypeError: compute_integral() got multiple values for argument 'limits'" using register_analytic_integral

I defined my own ZFit pdf using something like: class AngularPDFWithAcceptance(zfit.pdf.BasePDF): def __init__(self, ctl_name, ctk_name, phi_name, params, name): from math import pi ctl = zfit.Space(ctl_name, limits=(-1.0, 1.0)) …
0
votes
1 answer

zfit straight line fitting for 2 dim dataset

I would like to fit 2-dim plot by straight line (a*x+b) using zfit like the following figure. That is very easy work by a probfit package, but it has been deprecated by scikit-hep.…
0
votes
1 answer

How can I fix a parameter on creation in zfit?

I want to perform several fits with multiple parameters, some of the which are fixed in the first fit. How can I define a parameter that is not floating and how to change that? Creating without limits does not seem to make it fixed.
Mayou36
  • 4,613
  • 2
  • 17
  • 20
-1
votes
1 answer

zfit ConvPDF for small kernel uses a lot of memory

I'm using the zfit FFTConvPDFV1 object and experience that for a lot smaller kernel (space-) limits, the memory consumption rises extremely. In my case, I'm using a DoubleCB PDF with floating parameters convolved with the convolution of two other…
Mayou36
  • 4,613
  • 2
  • 17
  • 20
1
2