Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CSPad images and tile arangements

Saving data arrays

Plotting with MatPlotLib

Interactive analysis with IPython

...

However, the latest IPython has loads of new and interesting features...

http://ipython.org/

Plotting with MatPlotLib

  • The plotting can be done directly in the pyana module, but be aware that you need to disable plotting for the
    module to run successfully in a batch job.
    Code Block
    
    import matplotlib.pyplot as plt 
    
    plt.plot(array)
    plt.show()
    

Or you can load arrays from a file and interactively plot them in iPython.

Code Block

import matplotlib.pyplot as plt

plt.ion()
plt.plot(array)
plt.draw()

Non-interactive batch analysis

...