Description
Python is an ideal language for developing software for the analysis of scientific data. Although packages such as NumPy, SciPy, and pandas can offer execution speeds similar to those possible using statically typed, compiled languages, oftentimes Python code is too slow for the task at hand. Cython is a static compiler for Python which, with the addition of a few type declarations, allows Python code to execute at significantly faster speeds. This talk will detail how to use Cython to optimize the run time of Python code for analysis of scientific data with examples taken from the development of algorithms in the Python ARM Radar Toolkit (Py-ART), an open source library for working with weather radar data in Python.