SAM Quality Plots

Brian Boeckelman provided a set of python scripts and a graphing package. We describe here first how to use this to make the SAM Quality plots.

Installing the Dependencies

We have verified that this works for python 2.3.5 and 2.4.4 on mac as well as CentOs? . It requires the following packages to be installed:

  • Imaging-1.1.6
  • numpy-1.0.2
  • pytz-2006p

Install this on the mac doing something like this:

 sudo python setup.py install 

after unpacking, and cd into the directory.

  • matplotlib-0.87.5

After the first three, install this the same way. At this point, you can verify that this was all successful:

python
from pylab import *

This should just work, and either not dump anything to the screen, or at most complain about missing fonts.

  • subversion 1.3.1

You might need to add /usr/local/bin into your path, as that's where subversion installs by default. Now you can check out Brian's python stuff as follows:

svn co svn://t2.unl.edu/brian/GraphTool GraphTool
svn co svn://t2.unl.edu/brian/SamGraphs SamGraphs

Next try it out:

mkdir ~/tmp
cd SamGraphs
python sam_graphs.py -site 'ucsd'

This puts two plots into ~/tmp that should look familiar to you.

-- FkW - 17 May 2007

Topic revision: r1 - 2007/05/17 - 21:40:39 - FkW
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback