Welcome to ttcrpy’s documentation!

ttcrpy is a package for computing traveltimes and raytracing that was developed with geophysical applications in mind, e.g. ray-based seismic/GPR tomography and microseismic event location (joint hypocenter-velocity inversion). The package contains code to perform computation on 2D and 3D rectilinear grids, as well as 2D triangular and 3D tetrahedral meshes. Three different algorithms have been implemented: the Fast-Sweeping Method, the Shortest-Path Method, and the Dynamic Shortest-Path Method. Calculations can be run in parallel on a multi-core machine. The core computing code is written in C++, and has been wrapped with cython.

The source code of this project is hosted on GitHub.

If you use ttcrpy, please cite

Giroux B. 2021. ttcrpy: A Python package for traveltime computation and raytracing. SoftwareX, vol. 16, 100834. doi: 10.1016/j.softx.2021.100834 https://www.sciencedirect.com/science/article/pii/S2352711021001217

Indices and tables