Posts

Showing posts from May, 2017

LEVMpy: a python wrapper for Fortran LEVM code

Image
Many excellent scientific programs and routines have been written in Fortran over the years since the language was first developed in the late 1950s. Even today it is often the language of choice in the scientific community for intensive numerical and high-performance computing. NASA's recent challenge to improve their FUN3D fluid dynamics is a good example of how important Fortran still is. Wrapping Fortran code with more user friendly languages such as Python is therefore a very valuable task with libraries such as Python's scipy and numpy being prime examples. I decided to do this for the complex non-linear least squares fitting program, LEVM , that is designed for fitting impedance spectroscopy data to a vast selection of different circuit models. The code was developed by J Ross Macdonald and is popular in the field, however, it only exists as a DOS command line or basic Windows GUI program. Building a Python library would allow me to integrate it much more easily int