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

Uploaded CPython 3.14Windows ARM64

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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows ARM64

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

Uploaded CPython 3.13Windows x86-64

seisbench-0.11.7-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (254.7 kB view details)

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

seisbench-0.11.7-cp313-cp313-macosx_11_0_arm64.whl (240.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows ARM64

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

Uploaded CPython 3.12Windows x86-64

seisbench-0.11.7-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.7-cp312-cp312-macosx_11_0_arm64.whl (240.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows ARM64

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

Uploaded CPython 3.11Windows x86-64

seisbench-0.11.7-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (254.8 kB view details)

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

seisbench-0.11.7-cp311-cp311-macosx_11_0_arm64.whl (240.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows ARM64

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

Uploaded CPython 3.10Windows x86-64

seisbench-0.11.7-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (253.8 kB view details)

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

seisbench-0.11.7-cp310-cp310-macosx_11_0_arm64.whl (240.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: seisbench-0.11.7.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.7.tar.gz
Algorithm Hash digest
SHA256 a318fef844dea1a875551cc3d7192e7c58846817281ca65584d5efe10d0c8f97
MD5 1e926b5e77b1da1f851a14cd46d05505
BLAKE2b-256 2ad04c3ba8700f36a6d631e27e531a662deac68b2c109a56ab4b6d9a40144079

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 a5e5ecc827f53d8f82b887c7d79a9de52faec27ffda35cf76cd95a14aa155bb0
MD5 1c9ccc484d3c4e3ce26b54272111f962
BLAKE2b-256 628865d95a05b776486ae848096f276b514cb5aaaf4e17c2e107d863faa2f78f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4657fbbf6e83152bab61001f4a7017d3e2676d3f1323ed46144ec52c5fb9f0b8
MD5 ee2c8f26ffd25cb35d8e6cd7c93126e9
BLAKE2b-256 bbe8724a4f9ed8fca849af31f09a94a8188f02766820f35e89a65e5426dc1d2b

See more details on using hashes here.

File details

Details for the file seisbench-0.11.7-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.7-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 9bf62b993c2904f930c32cefbbb810de345362a3255a55a0b6cb92dd28df4e62
MD5 849a8e7cee96a7b88ee5f793fa46cf1d
BLAKE2b-256 5744e7d78b229cc285643e514044a615fb38f6893d3b0346d2397ea804f6af69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 330f26999f49dbb3685410f072bb4c7c9e614ce0ec85aca9bec7b8c2951deedf
MD5 c5e813259b4fa6e80847b9f89558b3a2
BLAKE2b-256 4845c2cdf6b5af7197410ef19e8e2821e176d633a9eb6bd6ec1fc726ef50f42f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 0bde7d3a8668a33d1804312120401a390b6839d4d2527d2ca52c98f0da45a30f
MD5 3f6c7b8850bda472e02a9204aef13c64
BLAKE2b-256 963cfa8815a62311c9a704aaf8ae4e689b3d6d3ae06d23b4f0f10d21db7b4a75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cb367555dbd283c3c61c338ec953159f9ca4f29ba595a21742c48ebe9ddf1f75
MD5 28568cb3ef28418868545998d8c9eb63
BLAKE2b-256 8b34e3a4d182f24c137850c62caec329d7657279d6340d4fa788d4c8202e2ab5

See more details on using hashes here.

File details

Details for the file seisbench-0.11.7-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.7-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 36c7d1ec415054eb28a0625326ead08251d34f125b6a03a79ffd38139eb69546
MD5 4c315c4ed371d182551b11a9806a7a3a
BLAKE2b-256 6e5bfb27cd1066c95a96cb1f3c5f4a45db8f10ce3c14d7b439864b9f8e94377b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bea5bd26560d2c7830e07ffad7dca7cbdd92aaeeaf13adfade54c34bcc132cfd
MD5 2062195717f9917523205ef548213a4d
BLAKE2b-256 b7be563bac5f7bae29744eb1f3c144a1eceb78fb4823aef452c61bc89386bc27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 7ba55f5ba5d5d798772b1edcc10e9672329f52f2c0fd08c11ed89d587f9aee77
MD5 e439cf6936905bf9e480f38afe69e6e3
BLAKE2b-256 684945150fce7e0d1132efe1a6d6eb07e41d620a47f148ca06c7e04e163dcf81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 38272ff75c3c4da4242e5eba193b75b48c09ea2dc9bb9881e37b22e9bb7ddfbc
MD5 04d3ce5998a5f92884fde11775a7cb65
BLAKE2b-256 5d01ecad579cd7b7daf51c1a349460469bfc0660c7aab10246df41c33ba21341

See more details on using hashes here.

File details

Details for the file seisbench-0.11.7-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.7-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 0617cfdf153c6d123e6c76a5403a59dd395aeef7185b2849c2d5cae0222c7e80
MD5 63e6b6c52167bff9436184262d1a9546
BLAKE2b-256 ceb9c6f1846368dd9d90477abf89a0743ff4aadcd3eb544e61f0ae56e8a915b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce39d0c3c6a78b883782337f98ce78b3b75597ea1cad45e694c0b9bf22d1c139
MD5 b8a1332f93dfc1596d9eaba1c177a4b5
BLAKE2b-256 609c6f12d49d0af057e1d4ac9071d789738530472d9a15cb92e7eb34703e688c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 dfd94747fba20e6b20ead22160da62003ce6dc06f217d5d2c22388c061d3beb4
MD5 520d69065444f265157fd8b84abb6696
BLAKE2b-256 5dcca955e2f108e41fcadf6ae9a794689e4bb43fa4e08c383986217369ca69e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e32bd1498212b9e612eb8546075301bab2653eadcc224c58f03b77b09ecb9fed
MD5 10b2cc7c341a08097794405a8b1efedd
BLAKE2b-256 ae47043a37c1c33ddb27d8450f0762b2f596de73528cd09b0a49d13e5c2ffac4

See more details on using hashes here.

File details

Details for the file seisbench-0.11.7-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.7-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 d845c9b8e0c5ae341f6e452a2d215fe98b150eaef9d20857d95544edb7af3948
MD5 69754858f066aeea9916ecaac7d9fa31
BLAKE2b-256 3fd6e279e79f4709015dd06e738b1c2f8204d3786d3b83d8589e0c6b582bdea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1dec303127ff3dbe1f9a37ac8c8ae3ad581c018b15cb1e0d820b8badcfe75649
MD5 31d8c453b52e74691f0539e0c836f727
BLAKE2b-256 c7852433dc78048f2f635f93a92fdecd2acf84143686085ed7a102cfe2e98d0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 6752a9ab96a774ad72e04f049c9c833b1d72be9fd0214c9aba8d5121206ce085
MD5 4b1c131a34aa26a985527b515d834590
BLAKE2b-256 746a19d20cd0a7da26f7c2253d5acb1507365f1e1a221a88026d081e5af2c6ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisbench-0.11.7-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.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c301363852a4d91801e2529d8a7a2817027deb5a28f33c63d1cda606a4ea1e21
MD5 faeea14ac4194d3e8e7f9858cd465170
BLAKE2b-256 2383b62f6fb194dee350c5cfd117782d64fd6809405e6e8e6cddbd4278dd75a3

See more details on using hashes here.

File details

Details for the file seisbench-0.11.7-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.7-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 e51f53a414b9d10b7cc15a2abf7659fe8307844f6ee3c74543674a9ffff29498
MD5 46e439c07ed3db695ff4d0881cc47be7
BLAKE2b-256 92033c7f79af7b91a12564acd48318d7673002b9975dfd3b43dfd6862d0370f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seisbench-0.11.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5c8da9cd892a67efca370d151a3be73a2d13e4b3c5387b0b7f634da95a652a43
MD5 7b5d65a478385a2c8bc989243f80feaf
BLAKE2b-256 dfc5fb0266673b2c4a5dc91f932d43f2d6c7b2f61a2ee0ac8523d1a3009758f3

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