Archive for March, 2010

h1

Jagungal wilderness

March 28, 2010

Jagungal wilderness area in the Kosciuszko national park, NSW, Australia.


h1

Python for scientific computing

March 27, 2010

I am currently undertaking a Ph.D. where i am researching blood flow using an academic computational fluid dynamics (CFD) code (Viper). Like many numerical investigations the pre-processing and post-processing is as important as the algorithm itself. Up until late early this year MATLAB was my language of choice for processing data, however, I have recently embraced Python (particularly NumPy) as a fantastic alternative.

Matlab is a nice clean language for dealing with vectors, however, even with the alternative of octave the vendor lock-in becomes terrible when you want to scale up your code for production runs on clusters. Python in contrast is completely free and scientific computation implemented by several  fantastic open source packages such as SciPy and  NumPy which easily duplicate the core functionality of Matlab in a pythonic, object orientated fashion. Additionally unlike Matlab the overhead of starting an interpreter is small and Python is almost universally available on *nix systems.

Yet the numerical capacity of Python is not the primary reason I have come to like the language. The core features of the language such as:

  • Clean code and indentation based control
  • Fantastic support for file I/O
  • Huge standard library including integrated support for debugging
  • A fantastic community with plenty of practical resources and superb documentation

All said the transition (despite some moments of pain) has sharpened my programming and extended my abilities appreciably (including writing my first decent MPI code).

h1

NY, NY Photos

March 24, 2010

A few of my favourite photos from New York. They were all taken on my canon 350D during my visit in November 2009.

City Hall Park

Firestation 10 WTC tribute

At Columbus circle

Battery City Esplanade

Jacqueline Kennedy Onassis reservoir looking towards upper east side

Turtle Pond - Central Park

Turtle Pond - Central Park

Brooklyn bridge

Brooklyn bridge

Brooklyn bridge


Brooklyn bridgeBrooklyn heights promenade

Brooklyn heights promenade

Brooklyn heights

Grand Central Station

Times Square

Times Square

h1

Hello world!

March 24, 2010

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!