Deep Learning toolbox for seismic waveform processing.
Project description
Yews is a deep learning toolbox for processing seismic waveform made with flexibility, speed, and usability in mind. It is built upon PyTorch for researchers interested in applying deep learning techniques on seismic waveform data.
Installation
To ensure the GPU-powered PyTorch , first isntall PyTorch using the offical guide: https://pytorch.org/get-started/locally/ and then install Yews via one of the following approaches:
conda:
conda install -c lijunzhu -c pytorch yews
conda-forge:
conda install -c conda-forge yews
pip:
pip install yews
From source:
python setup.py install
Note:
Running the above command without first installing PyTorch may still work. Depending on the OS, you may get either the GPU or CPU version of PyTorch. For example, MacOS currently will get the CPU Pytorch while Linux will get the GPU PyTorch by default. Please refer to https://pytorch.org/get-started/locally/ for details.
yews by itself is noarch, which means it is pure Python and OS independent. Most inconsistenciews between OS’s are primarily due to the upstream difference (e.g. PyTorch and NumPy).
obspy is an optional dependency, which is used for seismic waveform I/O; however, yews’s core functionalities do not depend on obspy.
You can install all yews optional dependencies via pip install yews[all].
Below are the instructions to each optional dependencies to install them separately in conda.
Dependency
Instructions
obspy
conda install -c conda-forge obspy
scipy
conda install scipy
tqdm
conda install tqdm
Documentation
You can find the API documentation on the yews website: https://www.yews.info/docs/
Contributing
We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file yews-0.0.5.tar.gz
.
File metadata
- Download URL: yews-0.0.5.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad43d503f75c132a3bf72a92be3595c38d29c0521d7831e6090060f81339e414 |
|
MD5 | ffc6aa3b07e02b717f9e190f9af104af |
|
BLAKE2b-256 | 3cb01ae6171a064d673edb4a2d3863527377f81d24027fbba0df1efed70fe61f |
File details
Details for the file yews-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: yews-0.0.5-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 255c8743c69c3b357d5f6f7d49fdca9f478d716433b07d861629e392f18bdcb3 |
|
MD5 | 0b236a60409ba769a1a9e0a5050cdd73 |
|
BLAKE2b-256 | 34dcfcc1f57e50cea36756e9619b4eff2b188aa50290c3b858d077152a20a04c |