Difference between revisions of "Python for Scientific programming"

From Gridkaschool
(Description of software requirements, and very basic installation test.)
Line 14: Line 14:
 
== Testing your installation ==
 
== Testing your installation ==
   
  +
Download [[Media:installation-test.tgz]]. Then
At the very least,
 
   
  +
tar zxvf installation-test.tgz
ipython --pylab
 
  +
cd installation-test
  +
python setup.py build_ext --inplace
  +
ipython --pylab -i mandelbrot.py
   
  +
should pop up a picture of the Mandelbrot set.
should work without error.
 
 
More detailed tests to follow.
 

Revision as of 00:05, 28 August 2012

Technical specification/requirements

To take part in this course you will need the following software packages

  • Python (>= 2.6 > 3.0)
  • IPython (>= 0.12)
  • Numpy
  • Matplotlib
  • Cython (>= 0.15)

GridKa School has provided machines with the above software pre-installed, to which you can log in remotely, but if you install the required packages on your laptop you will be more comfortable working in a familiar environment.


Testing your installation

Download Media:installation-test.tgz. Then

   tar zxvf installation-test.tgz
   cd installation-test
   python setup.py build_ext --inplace
   ipython --pylab -i mandelbrot.py

should pop up a picture of the Mandelbrot set.