2. Installation

EQTransformer is a Python 3.x package that uses libraries from Tensorflow and Obspy.

2.2. Installation via PyPI

If you already have Obspy installed on your machine, you can get EQTransformer through PyPI:

pip install EQTransformer

If you don’t have pip installed, this Python installation guide can guide you through the process.

2.3. Installation from Source

The sources for EQTransformer can be downloaded from the Github repo.

You can either clone the public repository:

git clone git://github.com/smousavi05/EQTransformer

Once you have a copy of the source, you can cd to EQTransformer directory and install it with:

python setup.py install