The aim of this 5-day course is to provide an introduction to the Python programming environment for research students. The course will assume no prior knowledge about programming and will provide a general introduction to programming in Python as well as an introduction to capturing, exploring, analysing, and plotting data in Python.
Sign up for this course via the UCL Grad School Course Website.
|
|
|
|
|
| Loic Matthey | Lloyd Elliot | Charles Blundell | Fabian Zimmer |
For the course we will be using the Enthought Python Distribution, a special, pre-packaged version of Python that includes a lot of useful packages for scientific computing. There is an academic version that is free for academic use, which can be obtained through Enthought Python Distribution (Academic License) by entering your academic e-mail address and then using the download link provided in the email. There are versions for Windows, Mac OS X, and Linux. Follow the installation instructions provided on the download page.
We have some more detailed download and installation instructions as well as some problems to help you get oriented and verify that the installation was successful here. Please follow these instructions and try to install Enthought Python before coming to the first session. However, if there are any problems, we will try to sort it out in the beginning of the first session.
| Monday |
Slides:
basics.pdf,
lists_loops.pdf Assignment 0, Assignment 1 (solutions) |
| Tuesday |
Slides:
file_io.pdf,
basic_plotting.pdf Assignment 2 (solutions), library_data.txt, response_time.txt voting.py, votes.pickle |
| Wednesday |
Slides:
dictionaries.pdf,
functions.pdf Assignment 3 (updated) (solutions), |
| Thursday | Slides:
numpy_plots_scipy.pdf,
day4.pdf Assignment 4, experiment.csv, experiment.py, cereal.txt, cereal.py, splom.py, noise01.jpg, noise02.jpg |
| Friday | Slides 5, Assignment 5, Resources |