Class 2 Python, Git and basic stats
24 Apr 2016Objectives of the lesson:
- Learn the basics of python (array, for-loop, masking)
- Create first function (to be done later): nMAD
- Do the first plot with matplotlib (scatter, plot, change options)
The python codes written during the class by Mickael are online in the class’ github notebooks (see Lesson2_…).
Exercices:
Last week exercice (sheet-1) has not been corrected in this “python intro” special lecture.
The new exercise sheet (updated, not quite the same as the one provided in class, sorry, wrong version printed) is available online (direct pdf here).
Data for the exercise are on github (notebooks/data)
Feel free to do the exercises in group.