echidna.scripts.tutorials package

Submodules

echidna.scripts.tutorials.getting_started module

Python version of getting started tutorial.

Please see https://github.com/snoplusuk/echidna/wiki/GettingStarted or the jupyter notebook form of this tutorial for further details.

This script:
  • Creates echidna.core.spectra.Spectra instance
  • Fills Spectra
  • Plots Spectra
  • Applies cuts and smears Spectra
  • Other Spectra manipulations e.g. shrink_to_roi, rebin and scale

This file has been generated automatically by running:

(ENV) $ jupyter nbconvert --to python --template getting_started

getting_started.ipynb

Examples

To run (from the base directory):

$ python echidna/scripts/tutorials/getting_started.py

Module contents