Difference between revisions of "Python for Scientific programming"

From Gridkaschool
Line 22: Line 22:
   
 
should pop up a picture of the Mandelbrot set.
 
should pop up a picture of the Mandelbrot set.
  +
  +
==[[Course Material]]==
  +
  +
There are three ways of accessing the course material:
  +
  +
* [http://cern.ch/jacek/courses/py-for-sci-in-6-hours/course.html On-line]
  +
* Download this tarball: [[Media:py-for-sci-in-6-hours.tgz]]
  +
* During the course, on the school-provided machines, at <tt>/home/tutors/generowicz/course</tt>

Revision as of 18:42, 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.

Course Material

There are three ways of accessing the course material: