Presenters-0183

From CSDMS
CSDMS 2.0: Moving Forward


Python for Matlab users clinic



Thomas Hauser

University of Colorado, United States
thomas.hauser@colorado.edu
Monte Lunacek University of Colorado Boulder United States

Abstract
[[CSDMS meeting abstract presentation::This workshop is a hands-on introduction to using Python for computational science. Python is a powerful open source interpreted language that has been adopted widely in many application areas. The goal of this workshop is to teach participants how to use Python as an open source alternative for MATLAB in their computational workflows. While we will demonstrate how to implement MATLAB-based scientific computing workflows in Python, attendees are not required to have MATLAB or Python experience. The goal of this tutorial is to show how an open source alternative to MATLAB can be used productively for computational science research. In the first part of this workshop we will introduce basic Python concepts and iPython with a focus on migrating from MATLAB to Python. We will show how the Python modules Numpy and Scipy, for scientific computing, and Matplotlib, for plotting, can make Python as capable as MATLAB for computational science research. In the second part of the tutorial we will discuss on how to interface Python with compiled languages like C or Fortran to improve performance of numerical codes. Additionally we will show how to use distributed parallel computing on a supercomputer from interactive python notebooks.

This tutorial will be hands on, so we would like you to install python on your laptop before you arrive. The easiest way to get everything you need is to download the FREE Enthought distribution:
https://www.enthought.com/products/epd_free.php. ]]



Please acknowledge the original contributors when you are using this material. If there are any copyright issues, please let us know (CSDMSweb@colorado.edu) and we will respond as soon as possible.

Of interest for:
  • Cyberinformatics and Numerics Working Group