We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
def significance(signalExp, backgroundExp, relativeBkgUncert): """ Numpy/Scipy port of the RooStats function `BinomialExpZ' See: https://root.cern.ch/doc/master/NumberCountingUtils_8cxx_source.html """ # pylint: disable=invalid-name mainInf = signalExp + backgroundExp tau = 1.0 / backgroundExp / (relativeBkgUncert * relativeBkgUncert) auxiliaryInf = backgroundExp * tau P_Bi = scipy.special.betainc(mainInf, auxiliaryInf + 1, 1.0 / (1.0 + tau)) return - scipy.special.ndtri(P_Bi)
The text was updated successfully, but these errors were encountered:
I've decoupled RooStats with 3acfd8b.
Sorry, something went wrong.
I've decoupled most of ROOT (except for plotting) from 3acfd8b to e1c37a8.
e1c37a...3acfd8
Closing this for now as most of it is decoupled except for plotting which isn't under the scope of this issue.
No branches or pull requests
The text was updated successfully, but these errors were encountered: