Tag: Python

Fortran and Pyplot

Python’s matplotlib.pyplot is a very nice collection of functions that provide an easy Matlab-like interface for data plotting. It can be used to generate quite professional looking plots. There is a lot of information on the internet about calling Fortran from Python,

Posted in Programming Tagged with: , , , , ,

Too Much Confusion

There is a lot of confusion and misinformation about the Fortran programming language on the internet, and a general ignorance about it among programmers. Most younger programmers who use languages invented five minutes ago probably have never seen it, and may only be dimly

Posted in Programming Tagged with: , , , , ,

Multidimensional B-Spline Interpolation

I just started a new modern Fortran software library called bspline-fortran, which is for multidimensional (multivariate) b-spline interpolation of data defined on a regular grid. It is available on GitHub, and released under a permissive BSD-style license. It seems impossible to find

Posted in Programming Tagged with: , , , ,

Comments

I just came across this article from 2005 written by Jef Raskin (probably most famous for having initiated the Macintosh project at Apple) on source code documentation [1]. I agree with much of what he recommends. I have never believed that code can

Posted in Programming Tagged with: , , , , ,

SOFA

The Standards of Fundamental Astronomy (SOFA) library is a very nice collection of routines that implement various IAU algorithms for fundamental astronomy computations. Versions are available in Fortran and C.  Unfortunately, the Fortran version is written to be of maximum use to astronomers who

Posted in Orbital Mechanics, Programming Tagged with: , , ,

Python Fortran Rosetta Stone

Fortran90.org has a nice page showing side-by-side comparisons of the same code in both NumPy and Fortran.  Aside from a few weird quirks (see the array slice examples), Python code should be easily understandable by a Fortran programmer.

Posted in Programming Tagged with: ,
Top