Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 1.67 KB

README.md

File metadata and controls

70 lines (53 loc) · 1.67 KB

inumpy: Introduction to NumPy Using iPython Notebook

Synopsis

This one-day workshop introduces NumPy, the fundamental library for numerical computing in Python, and how to use its building blocks. We will use iPython (or equivalently, Jupyter) notebook, an excellent interactive computing system, as the key interface to the numerical library. Although iPython is a great companion of NumPy, the former is not only useful in the numerical computing.

Prerequisites

Attendees should be familiar with Python and Unix-based terminal operations (command-line user interface). Attendees should bring their own computers. The workshop will prepare a VirtualBox virtual machine image of Ubuntu Linux that is loaded with the necessary software packages and the workshop materials.

Instructors:

(Tentative) Contents

iPython

  • Environment preparation
  • User Interface
    • Terminal mode
    • Notebook
    • ? for help
  • Useful magic
    • timeit, who
    • run, load, edit, debug
    • pylab, matplotlib, gui
    • html, javascript, latex
    • load_ext
  • Administration
    • !, %ls, %cd, %shell, %mkdir

NumPy Basic Operations

  • The look and feel of ndarray
    • Visualization: matplotlib
  • Creation of ndarray
  • Manipulation of ndarray
  • Iteration of ndarray
  • Broadcasting
  • Slicing

NumPy Computing

  • Ufunc
    • Performance
  • Linear algebra
  • Discrete Fourier transform

NumPy C Extension

  • Cython

Problems (Hands-on)

  • Image recognition
  • JPEG-like image compression
  • Hyrid image