Skip to content

Latest commit

 

History

History
 
 

Examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dans_Diffraction

Example Files

A selection of example scripts for performing different actions using the functions of Dans_Diffraction.

Instructions

To run a script, run the scripts from a terminal or your preferred python method.

For example, run the following from a terminal navigated to the examples folder:

$ cd Dans_Diffraction/Examples
$ ipython ./example_reflections.py

When running plot commands or using the GUI, initialising with interactive mode and a matplotlib backend helps:

$ ipython -i --matplotlib tk ./example_plot_powder.py