Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fits2

Fitting examples:

  • User_fit.ipynb(C) : starter code and example for fitting an arbitrary function with ROOT
  • data1.root : created with User_fit.C
  • Scipy_fit.ipynb : starter code and example for fitting an arbitrary function with scipy.optimize
  • datadist.root : contains a hisogram "h" that should be fit using a function of your own choosing
  1. Examine the notebook User_fit.ipynb. Your in-class project will be to improve the fit to converge on the falling distribution with two "bumps".
  2. You can run the C++ version of the example using either:
$ root User_fit.C
or
root[0] .L User_fit.C
root[1] User_fit()

See the code for additional details.

  1. Look at Scipy_fit.ipynb for a brief example of doing a fiot with Scipy
  2. Your main project is to complete the last section of either User_fit.ipynb (recommended) or Scipy_fit.ipynb. Here you will develop your own model to fit a data set that is provided. Details for your analysis are given in the notebook.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages