Python Seminar

Welcome to the unofficial website for the first High Performance Python for Physics Workshop series.  We will add new content as we make it.  We will meet every other Wednesday at 10 AM in Workman 352 until we decide to quit.  Bring a laptop with python and the appropriate modules installed, as well as your own code/project to work on – this series is intended to be very hands-on.  As a reminder, this is meant to be a somewhat advanced course, and you should already be comfortable programming in python.

Tentative schedule:

Week 1 (Jan. 30): Using profilers to find bottlenecks in your code (contributed by Mike)
Week 2 (Feb. 13): Numpy and python data structures and how to use masks.  Also, NumExpr (contributed by Mike)
Week 3 (Apr. 10): Using Cython to speed things up (contributed by Mike)
Week 4 (May   1): Fitting arbitrary functions to data (contributed by Phil)
Week 5 (May  15): Intro to Parallel Computing (contributed by Mike)
Week 6 (May  29): wxPython and GUIs (contributed by Tyler and Luke)

You should have the following software installed on your laptop before coming to the seminar:



Week 1: (Profiling)
line_profiler and the kernprof script ( )

This can be installed using pip or easy_install
easy_install line_profiler
pip install line_profiler

line_profiler looks for Cython (which will be needed for a future
seminar), you may want to install it now.

Week 2: (Data structures and Masking)
We discussed numexpr briefly, otherwise no special packages required.

Week 3: Cython

Cython should be available in your package manager if you are using Linux.

Week 4: Arbitrary Function Fitting
Requires scipy )

and lmfit )

Week 5: Intro to Multiprocessing

Week 6:
wxPython )


See you there!

One thought on “Python Seminar

  1. Howdy would you mind letting me know which web host you’re working with? I’ve loaded
    your blog in 3 completely different browsers and I must say this blog loads a lot faster then most.
    Can you suggest a good internet hosting provider at a reasonable price?

    Thank you, I appreciate it!

    Review my site: sante blog

Leave a Reply

Your email address will not be published. Required fields are marked *