Installation

We recommend installing MTUQ under Miniconda, which can be obtained following these instructions.

To install MTUQ, create a conda virtual environment:

conda create -n mtuq

Download the MTUQ source code:

git clone https://github.com/uafgeotools/mtuq.git
cd mtuq

Install in editable mode:

conda activate mtuq
conda env update --file env.yaml

Unpack seismic waveforms used by examples:

bash ./data/examples/unpack.bash
bash ./data/tests/download.bash

Finally, install PyGMT:

conda install 'pygmt=0.9'

Note

PyGMT installation has been finicky at times, so we include it as a separate step after the main env.yaml-based installation. Most MTUQ functions will continue to work without PyGMT. (See here for more information.)

Troubleshooting

For troubleshooting common installation issues, please see here.