The CMI Exchange is a collection of community developed scripts, functions, and IPython plugins that make use of the DiffPy-CMI framework. If you are new to DiffPy-CMI it is a great place to get started. If you’ve been working with DiffPy-CMI for a while and feel that others would benefit from seeing your code please contribute!
Begin by visiting the CMI Exchange on github. As with all github projects you will see the following two buttons in the sidebar allowing you to clone the project in your desktop or download a zip file:
For now simply follow the download zip link to get the entire project and unpack the zip file to a convenient location on your machine. If you have correctly installed the DiffPy-CMI package you can start running the scripts right away. Just follow the instructions in New User Tips.
You’ll notice that there are two directories:
cmi_scripts. The scripts are standalone python scripts that can be
run directly from the IPython command line, whereas the plugins are a
set of functions and IPython extensions
that provide additional functionality to your IPython session.
To run a script, simply navigate to the directory containing the .py file and type:
$ ipython --pylab In : %run script_name.py