https://github.com/btdavis/sfmphys