Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 625 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 625 Bytes

IPythonNotebookTutorial

IPython Notebook Tutorial for the scientists

Contents

  1. Introduction to Python with Jupyter Notebooks
  • <shift>+<enter>
  • <shift>+<tab>
  • print
  • numpy arrays
  • functions
  • matplotlib plot
  1. Loading and plotting data from a text file
  • numpy record arrays and genfromtxt
  • Matplotlib: scatter, log, error bars and legend
  1. Loading and viewing image data.

  2. Glob:

  • glob
  • For loops
  • os.path
  • string manipulation
  1. Fitting TAS data
  • Defining functions
  • LMFit
  • Two Pannel plot
  1. Loading and plotting a log from a NeXus file
  • h5py