Notes used to give tutorial at EuroScipy conferences