/zfit-tutorials

Jupyter notebook and other tutorials for the zfit project

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

zfit-tutorials

Tutorials for the zfit project

Try them directly with

zfit

To start out with zfit, it is recommended to go through Quickstart with zfit or the more complete Introduction

This repository is structured as follows:
  • Components: Tutorials focused on a specific component of zfit. They are rather short and function as a lookup
  • guides: More extensive notebooks that go through a full aspect of zfit.

Quickstart with zfit

Guides you through zfit with a minimal example

Introduction

A more extensive introduction that shows the most crucial aspects and possibilities.

Components

This tutorials provide smaller tutorials more specific to certain components

20 Composite Models

Building models out of other models using sums, products and more is an essential part of model building. This tutorial starts out with the basics of it.

60 Custom PDF

Being able to build a custom model simply is an essential feature of zfit. This tutorial introduces the two main ways of doing it, a simpler and a more advanced, more flexible way.

62 Multidimensional custom PDF

Building a pdf in multiple dimensions and registering an analytic integral.

80 Toy Study

A minimal example of how to manually perform toy studies with zfit.

Guides

More extensive guides through a certain topic.

Custom model guide

From building a simple custom model to multidimensional models of an angular analysis and functors that depend on other PDFs and a whole explanation on how models work internally.

Constraints, simultaneous fits, discovery and sPlot

Adding additional knowledge to fits can be done with constraints or through simultaneous fits. Furthermore, how to make a discovery and use the sPlot technique in conjunction with hepstats is explained.

TensorFlow

Tutorials about TensorFlow, the zfit backend, itself

Lazy Evaluation, Graphs and TensorFlow

An introduction to the declarative programing paradigm and graphs using pure python and TensorFlow.

HPC with TensorFlow

Introduction to TensorFlow from a HPC perspective with explanations of the graph and comparison to other frameworks such as Numpy and Numba.