How to use the pyroofit.models.Mbc function in pyroofit

To help you get started, we’ve selected a few pyroofit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github simonUU / PyrooFit / tests / test_models.py View on Github external
def test_Mbc():
    import ROOT
    df = get_test_df()
    assert isinstance(df, pd.DataFrame)
    pdf = Mbc(('mbc', 0, 1))

    pdf.observables.mbc # test that mbc is available by attribute lookup
    assert isinstance(pdf.roo_pdf, ROOT.RooAddPdf)

pyroofit

Python wrapper for RooFit to create fits easily with pandas DataFrames.

MIT
Latest version published 4 years ago

Package Health Score

39 / 100
Full package analysis

Similar packages