Python for Astronomers

Sérgio A. G. Sousa, Daniel Thaagaard Andreasen, João P. Faria
CAUP

In Astronomy, like in many other scientific research areas, the exploration of data is essential. The exploration of data includes many topics, including the:

There are many tools available for this purpose, but in most of the cases, it is really necessary to create our own tools, making use of programming languages.

Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. Although python is outstanding to solve quick problems, such as most the ones needed for the exploration of data, it can also be used to implement more complete and heavy applications.

In this hands-on course it will be presented the more important capabilities of Python and specialized libraries for the exploration of scientific data, with special focus for Astronomy.

Level: All interested people;

Requirements: The attendees should have a basic knowledge on programming. The goal of these advance course is not to teach how to program from scratch. For the practical classes the attendees should have ipython working proprely. Note that the course is based on Python 2.7. (Not Python 3)

There will be theoretical and practical classes. The theoretical parts are open to everyone. The practical classes are limited to 18 people, and are subject to registration.

Those wanting to attend the practical classes should express their interest by sending an e-mail to Carlos J. A. P. Martins, by October 16 at the latest. The usual priority rules will be followed for assignign the places, and those with places will be contacted shortly after this deadline.

Session 1: Session 1: Theory Class 1: Python Introduction and basic syntax
28 October 2016

Attendance limit: unlimited
Venue: Auditorium

Session 2: Session 2: Practical Class 1: Basic Syntax, File Input/Output, Numpy
28 October 2016

Attendance limit: Limited (see above)
Venue: Classroom

Session 3: Session 3: Theory Class 2: Python - Numpy
3 November 2016

Attendance limit: unlimited
Venue: Auditorium

Session 4: Session: 4 Practical Class 2: Python - Matplotlib Exercises - part 1
3 November 2016

Attendance limit: Limited (see above)
Venue: Classroom

Session 5: Session 5: Theory Class 3: Python - Matplotlib - Scipy 10 November 2016, 13:30 Attendance: Unlimited Venue: Auditorium
10 November 2016

Attendance limit: unlimited
Venue: Auditorium

Session 6: Session 6: Practical Class 3: Python - Matplotlib Exercises - part 2
10 November 2016

Attendance limit: Limited (see above)
Venue: Classroom

Session 7: Session 7: Practical Class 4: Astronomy modules and Scripting
17 November 2016

Attendance limit: Limited (see above)
Venue: Classroom