### Registration:

This year I am fortunate enough to be able to attend SciPy. SciPy is a Python conference focused on scientific programming. A big shout out to the Center for Open Science for making this trip a possibility. This will be the first of a (hopefully) daily blog series in which I will briefly cover how my day went and any lasting impressions it left me with.

The conference organizers made checking in quick and painless. We were served a breakfast buffet that was surprisingly good. Of paticular interest to me were the scrambed egg mini-bagels and lemon poppyseed bread slices — yum. Breakfast as followed by a series of tutorials which registrants chose in advance.

### Tutorial One: Guide to Symbolic computing with SymPy — Ondřej Certik, Mateusz Paprocki, Aaron Meurer

The SymPy tutorial was … interesting. We simulataneously listened to the lecturer discuss and demonstrate common SymPy functions while completing examples in various IPython notebooks that they provided us with. It was fast paced, too fast for me anyway, and we had to skip over a lot of material.

The tutorial docs recommended experience with IPython and ‘basic mathematics.’ However, I was quite surprised how far my definition of basic mathematics was from theirs. Unfortunately, this left me struggling to keep up with the tutorial even from early on. After a mid-session break, we briefly covered Calculus functionality before being introduced to some real world applications. This is where I became utterly lost.

SymPy’s original lead developer showed us several examples of his use of SymPy while preparing his dissertation in Chemical Physics. These included Poisson Equations, Fast Fourier Transform(s) (FFTs), and Variation with Lagrange multipliers. Don’t know what some (any) of those are? It’s okay, neither do I. On a side note, they did show an interesting ‘hack’ using javascript injectin in an iPython notebook which allowed them to manipulate 3D figures.

While the tutorial itself felt a bit unpolished, the instructors knew there stuff. All in all SymPy seems like a really interesting tool which I plan to use. When combined with IPython notebooks I believe it could create very powerful, long lasting notes for a variety of math intensive classes. I’ll be testing this out next semester in Physics.

### Tutorial Two: IPython in depth — Fernando Perez, Brian Granger

Anyone who has listened to either Fernando or Brian could have told you that his tutorial was going to be good. It was. They provided a solid tutorial environment with IPython notebooks that kept me feeling like I was actively working with them throughout the entire tutorial. Whenever anyone had a question they knew how to answer them quickly and concisely.

A few things I found of paticular interest:

- IPython Notebook: If haven’t heard of this, click the link and check out. I’m not kidding. This is a versatile web tool that is incredibly powerful. For some cool examples of what people have done with notebook (including writing a book!) click here.
- Awesome help functionality: With IPython’s built in help functionality [ ?, ??, %quickref, and %magic ] you can quickly get a syntax highlighted help description, the source for a module, or even access a nifty quick reference guide mostly eliminating the need to pop out of a notebook or console and visit online docs.
- Kickass debugger: IPython’s shell is amazing. But, I’ve found myself using PyCharm for more advanced bit of code while debugging. After learning about IPython’s magic
*%debug*and*%run*theprogram.py that may have changed. They provide you with very powerful and easy to use debugging abilities I wasn’t even aware existed.**-d**

Day one down. Time for sleep.

-H.

Poisson Equations, Fast Fourier Transforms, and Variation with Lagrange multipliers!?! Holy shit that must have been fun!!!

You should really checkout the SymPy library, Gene. You would love it. I thought their tutorial would be have a bit more of a …gentle approach. I still enjoyed it. I’ve been playing with using it in IPython notebooks in preparation for note taking next semester though. Good stuff.

Hi Harry, thanks a lot for the feedback, especially that our intro in the first half was too fast. Here are our materials (notebooks, sphinx docs, etc.) in case you wanted to go over it later: http://certik.github.io/scipy-2013-tutorial/html/index.html

The second half might have been a bit more advanced if you don’t have a background in physics or related field, but hopefully you got at least some idea how sympy can be used for problems in practice, together with other tools like numpy. If you have any questions or other suggestions, please let us know. Thanks for all the blog posts about the scipy conference, very interesting to see your perspective.

Ondřej, thank you for providing the link to all of your docs! Despite being lost for the last 2/3 I did enjoy the tutorial. I’ve started playing with SymPy in IPython notebooks since SciPy and I’m looking forward to using it throughout my physics course next semester. Thank you for commenting!