Skip to content
zsh
$ pta create_model -m1 -oatt_model.h5 \
-s15 -tvs input_params.yml
Building 3D model from CRUST1.0 (Vs)…
Smoothing with σ = 15 km…
wrote att_model.h5

PyTomoATT

A Python interface for TomoATT — build initial models, manage source/receiver data, and run seismic tomography workflows.
PyPI versionconda-forge versionSupported Python versionsLicense

PyTomoATT provides a Python interface for TomoATT, a software package for seismic tomography analysis. With PyTomoATT, users can create TomoATT projects, manage input data, and generate 3D initial models, 3D checkerboards, and slices of horizontal and vertical cross sections.

Initial models

Build a 3D initial velocity model from CRUST1.0 or a custom ASCII model with the pta create_model command line tool.

Checkerboard tests

Add velocity and anisotropy perturbations to a model with pta create_checkerboard to run resolution/checkerboard tests.

Source & receiver data

Read, filter, weight, and export source/receiver catalogs with the SrcRec class — selection by region, depth, distance, azimuthal gap, and more.

Model & array data

Load TomoATT HDF5 output into xarray-backed structures for slicing, plotting, and further analysis.

No compilers, no manual dependency wrangling — install directly with pip or mamba/conda.

Terminal window
mamba create -n pytomoatt -y pytomoatt
mamba activate pytomoatt

See the installation guide for development installs and more detail.