PRINT - ESOpy4.0¶
Rationale¶
WHY?¶
The Python programming language is one of the most used programming language in the world. It is used on a daily basis by one of the biggest companies in the world like Google, Yahoo, IBM, Nokia, etc… In the science world the use of python is growing fast as well. The LHC is using python, NASA is using python (JWST pipelines are written primarily in python), ESO is becoming python-friendly (with SciOpsPy) and the E-ELT will make great use of it. In this spirit, the python team decided to organize a third edition of the Python Boot camp that had a great success a year ago. The ESOpy v3.0 aims at providing a (non-exhaustive) overview of the python language and its use in science and operations.
WHAT?¶
The V4.0 of the camp (aka PRINT: Python foR dummIes in quarantiNe) will be dedicated to python beginners and span two mornings. The goal is to get familiar with Python and the basics of the langauge: Libraries, datatypes, data collections, FITS file handling, basic plotting, scripting, functions and classes. No requirements are needed, except having python (3.5+) installed on your laptop.
WHEN AND WHERE?¶
PRINT - ESOpy4.0 will take place remotely on the 27th and 28th of April.
Team¶
Thomas (Chair), R. de Rosa, T. Berg, J. Hartke & C. Herenz
Getting ready for the bootcamp¶
You can find here the python installation document here
. Please come on the workshop with everything installed. We will not have time to spend time installing >30 python environment.
Any problem with the installation?
For Mac User: Contact Robert de Rosa and Johanna Hartke
For Linux Users: Contact Romain Thomas
Program¶
Day 01 Morning session (9h00 –> 12h45)
09h00 - 09h45: Introduction to Python [Romain,
Slides
]09h45 - 10h30: From Scratch: Variables, operations, built-in functions and errors [Romain,
Material
]10h30 - 11h00: Working with strings [Robert,
Material
]11h00 - 11h30 break
11h30 - 12h00 loops and conditional [Johanna,
Slides
,Solutions to exercices
]12h00 - 12h45 Structures: List, Tuples and dictionaries [Trystyn,
notebook
]
Day 02 (09h00–>13h00)
11h00 - 11h45: Working with files (text and fitsfile) [Robert,
Material
]11h45 - 12h30: Functions in Python [Christian, http://www.sc.eso.org/~eherenz/pyfuncs_bc2020/]
12h30 - 13h00: Plotting with Matplotlib [Johanna,
Material
,SOlutions to exerciecs
]13h00 - 14h00: break
14h00 - 14h30: Classes: object oriented programming [Trystyn,
notebook
]14h30 - 15h00: A quick tour of the Python Standard Library [Romain,
material
]15h00 - 15h15: Wrap-up [Romain]