I gave a seminar on how I use Sumatra as an "automated lab-notebook" for my computational research. These slides present a tutorial to Sumatra and detail how to get started:
I recently spent a frustrating amount of time figuring out a good way to have labels and text in the Helvetica font in Matplotlib. Here's what I found:
In the latest edition of the Introduction to Scientific Programming in Python lecture at my institution, I held a tutorial on "File operations & Data parsing". Below the lecture slides:
I recently spent some time to set up GNU Emacs 24.3.1 properly in my Ubuntu 12.04/14.04 environments with the Compiz windows manager. I wanted to
- start Emacs in a specified position and size, and
- set focus (activate) Emacs in the current workspace
This is a short demo showing how to make abstract plots in matplotlib that have arrows pointing in the x and y direction as axis.
Syntax highlighting can be achieved in LaTeX via listings or more recently with minted. The latter package uses Pygments to create beautiful code highlighting and includes fantastic additional features such as line numbering.
To find an approximate solution to the initial value problem
we compare three different methods: The Euler method, the Midpoint method and Runge-Kutta method. The accuracy of the solutions we obtain through the
different methods depend on the given step size.