Sunday, October 31, 2010

Structural Geology and Python

As I journey through Structural Geology, I'm compiling (no pun intended) a set of python scripts.  These scripts, for example, include Mohr circle formulas, and calculations of apparent and true dip.  Direction cosines are only a matter of time.

This is a good study method.  Writing the scripts, while trivial, makes me reflect on why the formulas work.  Later on, they could be integrated into a GUI (perhaps using Tkinter or QT).  

These scripts might also be integrated later on into more complicated scripts designed to solve geologic problems.  I am writing them as modules and I am including docstrings as I go. 

1 comment: