skip to navigation
skip to content

Not Logged In

probfit 1.0.2

Distribution Fitting/Regression Library

Latest Version: 1.0.5

probfit

probfit is a set of functions that helps you construct a complex fit. It's intended to be used with iminuit. The tool includes Binned/Unbinned Likelihood estimator, χ2 regression, Binned χ2 estimator and Simultaneous fit estimator. Various functors for manipulating PDF such as Normalization and Convolution(with caching) and various builtin functions normally used in B physics is also provided.

from probfit import UnbinnedLH, gaussian
from iminuit import Minuit
data = np.randn(10000)
ulh = UnbinnedLH(data)
m = Minuit(ulh, mean=0.1, sigma=1.1)
m.migrad()
ulh.draw(m)

Tutorial

open tutorial.ipynb in ipython notebook. You can view it online too.

Documentation

See here

 
File Type Py Version Uploaded on Size
probfit-1.0.2.tar.gz (md5) Source 2013-01-06 737KB
  • Downloads (All Versions):
  • 7 downloads in the last day
  • 122 downloads in the last week
  • 539 downloads in the last month