SWD5: Scientific Python

Booking for this course is through the IT Training Unit. Click here to book

Workshop content

This workshop is aimed at people who want to learn how to use Python for Scientific Computing tasks. The workshop will give an introduction to Python’s main Scientific libraries (Scipy, Numpy and Matplotlib) and will also cover how to link existing C and Fortran codes and subroutines within your Python code. All exercises will use Python 3. This would be an ideal course to attend before ‘High Performance Python’.

At the end of the workshop, attendees will be able to:

  • A recap on Python data types

  • Numpy: arrays, matrices and linear algebra

  • Numpy: random numbers

  • Numpy: Fourier transforms and polynomials

  • Scipy: Linear Algebra and wrappers to LAPACK & BLAS

  • Scipy: Numerical Integration

  • Scipy: Interpolation

  • Scipy: Optimisation

  • Scipy: Special functions

  • Matplotlib: interactive and non-interactive plotting

  • Matplotlib: producing publication-quality figures

  • Matplotlib: creating diagrams

  • Interfacing to C and Fortran

Prerequisites

This workshop is aimed at people who can already program in Python at an intermediate level (with a knowledge of loops, functions and ‘if’ statements). If you need to learn how to program in Python, please attend SWD1a: Introduction to Python programming.

Duration

1 day

Frequency

This workshop usually runs once each academic year.

If you would like a bespoke version of this course run in your department then please contact us.

Suitability

Research postgraduate students and above; teaching and lecturing staff.