Skip to content

Materials for the IPython/Jupyter workshop at the NGCM Summer Academy, at Southampton University, Boldrewood campus.

Notifications You must be signed in to change notification settings

ngcm/ngcm-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPython/Jupyter Workshop at the NGCM Summer Academy

Materials for the IPython/Jupyter workshop at the Next-Generation Computational Modeling Summer Academy:

  • 3-day course
  • 24, 25 and 26 June 2015
  • At Southampton University, Boldrewood campus, 175/1025

Course URL: http://ngcm.soton.ac.uk/summer-academy/ipython.html

Teaching blocks from 9:30-11am, 11:30am-1pm, 2:30-3:30pm and 4-5:30pm. There will be coffee breaks at 11 am and 3:30 pm and a 1 hour lunch break from 1-2 pm.

Course content

Python provides tools for interactive and parallel computing that are widely used in scientific computing. We will show some uses of IPython for scientific applications, focusing on exciting recent developments, web-based notebook with code, graphics, and rich HTML.

In this advance tutorial we will mostly focus on the notebook format and capability of the IPython web notebook.

Day 1: Core IPython

  • Notebook Basics
  • IPython - beyond plain python
  • Markdown Cells
  • Rich Display System
  • Introduction to Interactive Javascript Widgets
  • Customizing IPython - a condensed version

Day 2: Interactivity and the Jupyter project

  • The architecture of interactive widgets
  • Developing custom widgets
  • Notebooks as documents: sharing and converting them
  • Beyond Python: the Jupyter architecture with Julia and R
  • The Jupyter Hub: multiuser Jupyter environments

Day 3: Parallel computing with IPython

  • Overview of the IPython.parallel model
  • Controller and engines
  • Basics of remote execution
  • Direct vs task execution
  • Integration with MPI codes
  • Handling dependencies between tasks
  • Performance considerations

Software Requirements

  • Python 3.x
  • IPython stable (version 3.1) installed with the notebook. It should be available through the usual distribution channel, such Anaconda.
  • Your favorite text editor.
  • If you have trouble installing Anaconda, this blog entry may help.
  • For the material related to nbconvert, the pandoc package, together with a latex installation, would be useful.

To install the packages required for this course and the Pandas course using Anaconda, create a suitable environment using

conda create -n ngcm python=3 numpy scipy ipython ipython-notebook ipython-qtconsole pandas matplotlib pyzmq tornado requests scikit-image sympy

Then, to use this environment, enter

source activate ngcm

Checking your installation

You can download and run this ipython-version-check.py script, and execute it using "python ipython-version-check.py" to check you have fulfilled the installation requirements.

Required knowledge

  • Basic Python,
  • some vague notion of html would be great.

The trainers

Demonstrators: Max Albert, Josh Greenhalgh (NGCM)

Infrastructure

About

Materials for the IPython/Jupyter workshop at the NGCM Summer Academy, at Southampton University, Boldrewood campus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 81.4%
  • Python 12.6%
  • JavaScript 3.8%
  • Shell 1.4%
  • Smarty 0.8%