Skip to content

Commit

Permalink
add integral comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrommyd committed Mar 22, 2024
1 parent 909fa4d commit f95b2b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zfit_physics/models/pdf_erfexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def erfexp_pdf_func(x, alpha, beta, gamma, n):
return tf.math.erfc((x - alpha) * beta) * znp.exp(-gamma * (znp.power(x, n) - znp.power(alpha, n)))


# Note: There is no analytic integral for the ErfExp PDF
# We tried with sympy, Mathematica, Wolfram Alpha and https://www.integral-calculator.com/
class ErfExp(zfit.pdf.BasePDF):
_N_OBS = 1

Expand Down

0 comments on commit f95b2b1

Please sign in to comment.