Skip to content

Neutron Image Analyses tutorial presented at WCNR 2018 (Sydney)

Notifications You must be signed in to change notification settings

JeanBilheux/WCNR_python_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Neutron Image Analyses tutorial presented at WCNR 2018 (Sydney)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published