Converting all codes from Allmendinger et al. 2011 from Matlab into Python, with permission from the author Nestor Cardozo. Use of these codes should be cited as "Cardozo in Allmendinger et al. (2011) or as explicitly stated in comments of individual codes
Allmendinger, R. W., Cardozo, N., and Fisher, D., 2011, Structural Geology Algorithms: Vectors and Tensors: Cambridge University Press, Cambridge, 302 p.