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.6.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.6-cp314-cp314-win_arm64.whl (242.9 kB view details)

Uploaded CPython 3.14Windows ARM64

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

Uploaded CPython 3.14Windows x86-64

seisbench-0.11.6-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.6-cp314-cp314-macosx_11_0_arm64.whl (240.7 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows ARM64

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

Uploaded CPython 3.13Windows x86-64

seisbench-0.11.6-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.6-cp313-cp313-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows ARM64

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

Uploaded CPython 3.12Windows x86-64

seisbench-0.11.6-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.6-cp312-cp312-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows ARM64

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

Uploaded CPython 3.11Windows x86-64

seisbench-0.11.6-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.6-cp311-cp311-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows ARM64

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

Uploaded CPython 3.10Windows x86-64

seisbench-0.11.6-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.6-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.6.tar.gz.

File metadata

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

File hashes

Hashes for seisbench-0.11.6.tar.gz
Algorithm Hash digest
SHA256 c4dee24c7e5c14d29b080a03e4f27b64271558c0d99be29394bd80c24ffd1fad
MD5 120a0316dc51463c45c61bd121360c43
BLAKE2b-256 946de5a60ba89096ad268e17c269bd5a76bd653b81a0d8db884e00f4dae0eb0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 3b1247a220e518b09b0f2ded2ed1ee1f2011a3748d9e6654f6e63d847f0531b8
MD5 8d9664fede1d5dbc8eaa708ee057bc33
BLAKE2b-256 eb134dab1c4f18ac69f8b4a962663cf7bbc31e16e04d11da70d610fb3a25951b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 96ea8ba1655f44a45f8d0f56fa37768c9872c9ff53e3eb67ca404eb27e8a3f59
MD5 3d77914e516419ce897eb75326732b2b
BLAKE2b-256 8753346ea6dae172925bcbe9952a5a41f1613a4375cabe17e50c0c6c682423ef

See more details on using hashes here.

File details

Details for the file seisbench-0.11.6-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.6-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 5d73ba6264079df86bab8ff1de649b7f2294727f6ed9abc9c5deb98c55baf12a
MD5 f612def4411f4204cc89fc4e1109f8a6
BLAKE2b-256 9b5452098ca30136c44726529fbdfdcf891765c94027506db46eef2f60e0f1b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a5e13cba555f6c58622dfc859228e865a27d6873f9dd32eea6cba1a610cf26d
MD5 b7eaffd31cfffe393225f579f7676342
BLAKE2b-256 e55e777cc4157c2f796867b9c77f8e085c6b5a978193d744d8ae377b6c39e9f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 a415f87f673db4c722ff90111e68af5d7a3706a560382f7b40ab3cacc64dbb5e
MD5 f1c10b23999815138fd99de23559b9c3
BLAKE2b-256 4037157fb47bed1b0144be55898fed75ba1f8f666cbe477d0f36938105b4bb99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7e94a49c4871154f4b31a0fd4f19ceb6b16189edf714bc78a7f1339779bd53af
MD5 43eece783c999d8abb6637db027e75ea
BLAKE2b-256 39834d7421600cae62fa9c5d546b61d339b5f0a185121ff956dce7f331da6977

See more details on using hashes here.

File details

Details for the file seisbench-0.11.6-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.6-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 540413291f8a28295c63a515ea67bf9216a9e6493ec4f8398aa5c446732d0c18
MD5 9df52e44ff9bd69dc7e05993b18acdc7
BLAKE2b-256 b99044c67c730b29170d36bf543a620fe1f11fe0fc429094e47ff2c29df80a97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 621fe950bdf9a678571df43067c5287c9a28eecf65e1bc8ee08339b149a02158
MD5 84556eedac6b87693e6d992fb94c9be0
BLAKE2b-256 684f37e4753bcb9ff26c7f6e7841d75b36baa5f1f3ea992f23631527bd31107a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 4c45ffe1f44a8de56c973b3a55ea72f8567b27b9c75e79aa6931d8b754625da6
MD5 1386b14542377ca0ee9122e857d25ed6
BLAKE2b-256 f1839f4b0561e1b9f42770779499f3acef431075a0c2379da5b0378969748c5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 12e2ac04eeb6212a34b746b3358eda2e2a08ee778213a443719372a84f5e4791
MD5 a3d5086777b3de11fb222c48f6b8f139
BLAKE2b-256 8635ec3e2eae272d7e220844eed4152fc2189315379dadbfbc520e5ac4a893d9

See more details on using hashes here.

File details

Details for the file seisbench-0.11.6-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.6-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 a0ff46eb3ecf0f65ceabc4c520aff072c3abc280cc96b02e642ef88ba8bb67eb
MD5 38e002e9a7b91cc69b181c4a0fd75348
BLAKE2b-256 e474adc61b05fbe519f30059c885f38784703d3350538e5b0d067bba3cdc6199

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 92be0265f452d63ff8caccc4c55eab90082c9ee9b9c7c4da014e61f5d3a814de
MD5 7f38f26e60b6d0a5cf63bb3943b1d26a
BLAKE2b-256 3d091e2e8fe5dc502ba26153f3ff33e32205c327226c803c020ef661ad48dcdf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 971020f2b4b82ececbebc1028406f1ecb76eda16de325658bbb62872ac516523
MD5 a553f6d0cc9a3ccbfe54d954fe023073
BLAKE2b-256 2c15485edd448313482549680f3d2fd0702b3e3079368d06b5c7cbc8890e522a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 64095de8564b21214a66df2370608b0d2241d0c153c94c9f8b15366130a3ae2e
MD5 a68d139f586a42e1589611bf91de9df7
BLAKE2b-256 0a44a5594a91918e0c660dc0681b0dd58a244729a05fca71ae65c2789d0b0caa

See more details on using hashes here.

File details

Details for the file seisbench-0.11.6-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.6-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 bfda23795c9851cbe8849b675731b68b1366e8885bb40323de753aca44e29bfb
MD5 c4e6b3b43be6c1371e929542a562dd70
BLAKE2b-256 89228b35264bb4081ed24578a50bc6b6ffa11ffe0a254c23fdcf14e5d2a8a6e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 007c69b0e16d539891e345882abff0b63f6e6ad8df13140bc3717d3dc6c82eee
MD5 b23ece9cdac734bd2d4d2a5f2d06ca52
BLAKE2b-256 5a90afbf557dfde35c11983f9fffdc6c2fd4f2fc8d935032da1169f56bd0e18c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 455a6bb06e92d2c08e23e9ab062781b130a351450e9c4919202b57b8dc75bdec
MD5 a989da0e2e73ede885d7c075b91ed0af
BLAKE2b-256 6cfd885938b78f5e6ff726359a86de1d7ed40416805b9b1281af80076d144a07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.6-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.12

File hashes

Hashes for seisbench-0.11.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2be2b512d202c3ee579f0f14acf010ccac7e91d6bd74a06202ff324eb66e8caf
MD5 e343aae5e0c9732cd55779a35e2038fd
BLAKE2b-256 78b823ec8436489e687707aed26e350faed3991f23e8b48699a14be256c5e5e1

See more details on using hashes here.

File details

Details for the file seisbench-0.11.6-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.6-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 692f470a1c170f5a4e4b08ae98b3671a57923cb736fd34cc01a80869f4bbdc39
MD5 a129be5b13a489f27a265c49672ea90f
BLAKE2b-256 ecc4d0cabebdf8c043cf71a9bdf3ecf192cd526770f9ee18e767bc29a5abd166

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7fedd9ee99476d8f26e4553a7365c62a665a0ac286c8e28067dea631be3251d
MD5 ce6cc1492b984dd7e4ff6257f60da5cb
BLAKE2b-256 9e7e9f9682ffb6ba68a2aa4bc80d86ae51aa9034cf58b09f72715bded4c5887c

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