Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 1.12 KB

Readme.md

File metadata and controls

20 lines (19 loc) · 1.12 KB

Numpy tutorials for Part II students

Tutorials can be downloaded individually by clicking on them, then in the top right hand corner right clicking on Raw and selecting Save link as. Alternatively if you can download a zip file of the entire tutorial set by clicking the green Clone or download button in the top right of this page. Work through them. Google is your friend if you don't know how a function or a method works. It is normal to throw errors. If you are using Spyder (IPython) and you would like the plots to come up in a different window (useful if you want to zoom in), then you will need to put the line %matplotlib qt in your code.

List of tutorials so far:

  • tut01a: loading an XRD pattern and plotting it.
  • tut01b: plotting individual peaks.
  • tut02a: finding area under a peak.
  • tut02b: finding linear background-corrected area under a peak.
  • tut03a: applying rolling average to data.
  • tut04a: automatically finding peaks.
  • tut05a: fitting peaks.