Skip to main content

The seismological machine learning benchmark collection

Project description


PyPI - License GitHub Workflow Status Read the Docs PyPI Python 3.10 DOI

The Seismology Benchmark collection (SeisBench) is an open-source python toolbox for machine learning in seismology. It provides a unified API for accessing seismic datasets and both training and applying machine learning algorithms to seismic data. SeisBench has been built to reduce the overhead when applying or developing machine learning techniques for seismological tasks.

Getting started

SeisBench offers three core modules, data, models, and generate. data provides access to benchmark datasets and offers functionality for loading datasets. models offers a collection of machine learning models for seismology. You can easily create models, load pretrained models or train models on any dataset. generate contains tools for building data generation pipelines. They bridge the gap between data and models.

The easiest way of getting started is through our colab notebooks.

Examples
Dataset basics Open In Colab
Model API Open In Colab
Generator Pipelines Open In Colab
Applied picking Open In Colab
Using DeepDenoiser Open In Colab
Depth phases and earthquake depth Open In Colab
Training PhaseNet (advanced) Open In Colab
Creating a dataset (advanced) Open In Colab
Training Denoiser (advanced) Open In Colab
Building an event catalog with GaMMA (advanced) Open In Colab
Building an event catalog with PyOcto (advanced) Open In Colab

Alternatively, you can clone the repository and run the same examples locally.

For more detailed information on Seisbench check out the SeisBench documentation.

Installation

SeisBench can be installed in two ways. In both cases, you might consider installing SeisBench in a virtual environment, for example using conda.

The recommended way is installation through pip. Simply run:

pip install seisbench

Alternatively, you can install the latest version from source. For this approach, clone the repository, switch to the repository root and run:

pip install .

which will install SeisBench in your current python environment.

CPU only installation

SeisBench is built on pytorch, which in turn runs on CUDA for GPU acceleration. Sometimes, it might be preferable to install pytorch without CUDA, for example, because CUDA will not be used and the CUDA binaries are rather large. To install such a pure CPU version, the easiest way is to follow a two-step installation. First, install pytorch in a pure CPU version as explained here. Second, install SeisBench the regular way through pip. Example instructions would be:

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install seisbench

Contributing

There are many ways to contribute to SeisBench and we are always looking forward to your contributions. Check out the contribution guidelines for details on how to contribute.

Known issues

  • We've experienced occasional issues with access to our repository. To verify the issue, try accessing https://hifis-storage.desy.de directly from the same machine. As a mitigation, you can use our backup repository. Just run seisbench.use_backup_repository(). Please note that the backup repository will usually show lower download speeds.
  • We've recently changed the URL of the SeisBench repository. To use the new URL update to SeisBench 0.11.5. It this is not possible, you can use the following commands within your runtime to update the URL manually:
    import seisbench
    from urllib.parse import urljoin
    
    seisbench.remote_root = "https://hifis-storage.desy.de/Helmholtz/HelmholtzAI/SeisBench/"
    seisbench.remote_data_root = urljoin(seisbench.remote_root, "datasets/")
    seisbench.remote_model_root = urljoin(seisbench.remote_root, "models/v3/")
    

References

Reference publications for SeisBench:




Acknowledgement

The initial version of SeisBench has been developed at GFZ Potsdam and KIT with funding from Helmholtz AI. The SeisBench repository is hosted by HIFIS - Helmholtz Federated IT Services.

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

seisbench-0.11.5.tar.gz (27.7 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

seisbench-0.11.5-cp314-cp314-win_arm64.whl (242.9 kB view details)

Uploaded CPython 3.14Windows ARM64

seisbench-0.11.5-cp314-cp314-win_amd64.whl (244.4 kB view details)

Uploaded CPython 3.14Windows x86-64

seisbench-0.11.5-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (254.8 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

seisbench-0.11.5-cp314-cp314-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

seisbench-0.11.5-cp313-cp313-win_arm64.whl (243.1 kB view details)

Uploaded CPython 3.13Windows ARM64

seisbench-0.11.5-cp313-cp313-win_amd64.whl (244.5 kB view details)

Uploaded CPython 3.13Windows x86-64

seisbench-0.11.5-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (254.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

seisbench-0.11.5-cp313-cp313-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

seisbench-0.11.5-cp312-cp312-win_arm64.whl (243.1 kB view details)

Uploaded CPython 3.12Windows ARM64

seisbench-0.11.5-cp312-cp312-win_amd64.whl (244.5 kB view details)

Uploaded CPython 3.12Windows x86-64

seisbench-0.11.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (254.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

seisbench-0.11.5-cp312-cp312-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

seisbench-0.11.5-cp311-cp311-win_arm64.whl (243.1 kB view details)

Uploaded CPython 3.11Windows ARM64

seisbench-0.11.5-cp311-cp311-win_amd64.whl (244.5 kB view details)

Uploaded CPython 3.11Windows x86-64

seisbench-0.11.5-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (254.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

seisbench-0.11.5-cp311-cp311-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

seisbench-0.11.5-cp310-cp310-win_arm64.whl (243.1 kB view details)

Uploaded CPython 3.10Windows ARM64

seisbench-0.11.5-cp310-cp310-win_amd64.whl (244.5 kB view details)

Uploaded CPython 3.10Windows x86-64

seisbench-0.11.5-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (253.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

seisbench-0.11.5-cp310-cp310-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file seisbench-0.11.5.tar.gz.

File metadata

  • Download URL: seisbench-0.11.5.tar.gz
  • Upload date:
  • Size: 27.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5.tar.gz
Algorithm Hash digest
SHA256 6da728124c2129bc90ebd7fcdb7c60c694abf57da3c089f6c9cd2876a7d24569
MD5 129e7d35fbcfabf9be88259cdc46c93c
BLAKE2b-256 681206b770c07464bd913685071502158dbc3fffb70797b139ccdc31cab6c5c0

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp314-cp314-win_arm64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp314-cp314-win_arm64.whl
  • Upload date:
  • Size: 242.9 kB
  • Tags: CPython 3.14, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 1c68e3038e8c49ff10744db3e6d314a652aef24496551e3f4ad05a37b36d6fba
MD5 fe26b5ca31c1c78af9f3ae2b75b9cfb5
BLAKE2b-256 24d0eaa4273d2d45cee122a9655c5891bae30d935bce26dc7f05e2a71b22310b

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 244.4 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ebff5e86c8f16c483a17a379f97c4e498106157d3f499feb719c066085d9b7be
MD5 c2163531efa739a4c26bb78a769e6da4
BLAKE2b-256 fd83309879575bccb9104d5fd783d733ed5f06352c3247d0b8a2bccaecac8828

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 d0be1d4afe25054179e7dbe0f6a491a8b722ac9a8e2b44821c43625fc40ae804
MD5 8a9cf636afefb217b25a6e1b1715a1e3
BLAKE2b-256 13ec458c5346b8af30a87104028e187ec2f7a01fbd8e3ad0f1048ee057a9c0aa

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae92a94cc7968f21cf50ff40fa9817c7f2789740a4960bc3293dd081fd0cbdac
MD5 711a81bfe1910d2680657338497047dc
BLAKE2b-256 7304e4728dc87d62873021ea9fd6f7820e5e2a8a80d1c7713113216ad1d92060

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp313-cp313-win_arm64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp313-cp313-win_arm64.whl
  • Upload date:
  • Size: 243.1 kB
  • Tags: CPython 3.13, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 c976f0ff76bc896400ef9d930b9d8b45e7f8dba046d972b0a8a445fedbbcb3db
MD5 f3007c1de6164a66560457506cd97e5f
BLAKE2b-256 59c91af259f6acbf87a7dd80381d6d8fb8b5ad6543ba61872815fc63a12ce4cb

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 244.5 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e1f0bb7d9542927b259de687c67512bfe9f2fa3f1206ea4201eda83256654679
MD5 6c91bef747e52c00ef39706e8f850d88
BLAKE2b-256 902e8af1f44240a355e7196e02ad997140f5372e9bf4fbf527fc28aba526094a

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 e2258bdbc451a1550141ae0bc2a381ec42c6836e6394cf0323e700d255484a1b
MD5 cabf14d274d4a0c8ff0f2cd1ac91dcca
BLAKE2b-256 aa27e7984383b8d01e1e6e20f4b992dff7d76fffd0493a18663065e422209fe8

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 22eb15af78bed96d7f038202dc30c2bed2403c2f89715aa2527e315e6465d740
MD5 f6bf8a822ee86dbd77a05e012e3a8c20
BLAKE2b-256 2f8e22764abec098049c8d54b649eb42d5cb53d67240aea4daf0cbd2dff52d74

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp312-cp312-win_arm64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp312-cp312-win_arm64.whl
  • Upload date:
  • Size: 243.1 kB
  • Tags: CPython 3.12, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 07ef7467b3523e18b40bea851310f7262f7b8a368d4225ca03e5dc183ce9409b
MD5 ccebe9a9de7d2b8a5dd48994f5b21d96
BLAKE2b-256 d9ca1599e969b4a0556bb1f85343da6e972a53fa5f8c8f3aecfcdc2040c319c4

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 244.5 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e704a194da2ef250d67601ce0f8dd7dd6414e077c9f6af64903fcd9f25e4fb07
MD5 3756608e917bb1b103afd00a7c7034a3
BLAKE2b-256 ae6786bc53a93f24469b94f3fbf74e79ad545f908084df589b17461a66353de0

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 edfc47d7a46559fed0ecfd66fb7c895259f6cc96c319114638a4a04c44815e05
MD5 ac0e7f75851b7f9b053a6a202a57f40f
BLAKE2b-256 f35760f4e090067dd7da6fb2bab04d4e38d9ec8a074ba61d0c6c7c1b9306f6c0

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d2d7e160b9d4cb16b498d87301ba04c3db3b165ae431311548aa4ac2cb98430
MD5 14e26ede2f3ccab6601f0b24ad61d6a1
BLAKE2b-256 45301d83cd4d38efb53a81f1db556cdf5b6df4c6bdb0ac0ee9484bf13ce43c4d

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp311-cp311-win_arm64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp311-cp311-win_arm64.whl
  • Upload date:
  • Size: 243.1 kB
  • Tags: CPython 3.11, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 8393979589644e6d07bda5251c47435eba134aa772c21404b850cae99b6e2fc6
MD5 7528282e88d52dd5c6aeafae87a1f7ba
BLAKE2b-256 3491e1b59b68643e23449b6ef564c1565ecdcc0a5e9a415a77ce5f9ed50ee8dc

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 244.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 398ab6a8e6f25ddf430b722631720aa74acb154d80f81c68fad253048581f2e2
MD5 3d7030a0d16c79bc2562030bcf9e8110
BLAKE2b-256 a75228f2d767c36185f4f1fdf72cb0b4479967131faee0b747ae146d98bbe90f

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 948443301970df5602b0034b958e19f07de018e7616f7cafd0e260ba333369e3
MD5 ca44a1f1f3929dd6697cd661730b1bb7
BLAKE2b-256 acb96f6846c34443f765b82dafc224241d4ee5e9f6c559f001883c83da14e7f3

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6d346b67e89854af3756ef6cffac48c9c48582b0bfa792d70641515948eb9c85
MD5 eb0d108409465d677b695dfa5f0e39bc
BLAKE2b-256 0fb47c6845605e597a21a09dedd23fbd0c679f904aaa4db0dc90cec66ffc172b

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp310-cp310-win_arm64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp310-cp310-win_arm64.whl
  • Upload date:
  • Size: 243.1 kB
  • Tags: CPython 3.10, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 7f6b6497a6dde68710a11100dcddfa11990e64d38f25586afd2a08c3b98b6148
MD5 a64bde529bd5b981648c1fdbefd0e235
BLAKE2b-256 9847d28d33dc9e624feb04ae6eb76f91f1a4bb8931b3ab9469db5493241eec4b

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: seisbench-0.11.5-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 244.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for seisbench-0.11.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9cac0db6942bd04d4ed7c8ef18266676b95157fe02181008df6fd4113b4ba7ae
MD5 33db10d9792a463e8e3a6e8b6f70cab4
BLAKE2b-256 546eeb101514f080ceb87b19560249ed876ced6ff730559f45e0085ffdc722e9

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 ef274c422cf475be624fc0cc69ee29d4463cf56fb986e577f7b69f346070d74f
MD5 05e7baa88b677d6238d4abb5ec8bf414
BLAKE2b-256 e76bfbaf0df151d0a326049817a614059105149404c5b1b67ba0329e1fb4e566

See more details on using hashes here.

File details

Details for the file seisbench-0.11.5-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for seisbench-0.11.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 71c71a7b91cca79edb20b3f22a743b49d114a39fe19e3507746ce54b3b3ced67
MD5 87a72ed643759a015c1ef3a4a16e6678
BLAKE2b-256 50adc8cb5b0c494afa7c9ea71afaa0ca38c8c784a0bb9c8e65e80d7e73726dde

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page