Skip to main content

Python module to read/write/manipulate SAC (Seismic Analysis Code) files

Project description

Test Status Build Status Documentation Status codecov PyPI PyPI - Python Version

Pysmo

Python package to read/write/manipulate SAC (Seismic Analysis Code) files.

Quickstart

To install the stable version of pysmo run the following command in a terminal:

$ pip install pysmo

Pre-release versions of pysmo can be installed by running:

$ pip install pysmo --pre

Finally, to install the current master branch directly from Github run:

$ pip install git+https://github.com/pysmo/pysmo

Pysmo can then be used in a python script or the python shell directly:

>>> from pysmo import SacIO
>>> seismogram = SacIO.from_file('file.sac')
>>> print(seismogram.delta)
0.02500000037252903
>>> print(seismogram.data)
[-2.987490077543953e-08, -2.983458813332618e-08, ...
>>> help(seismogram)
Help on SacIO in module pysmo.core.sac.sacio object:

...

Documentation

The complete pysmo documentation is available at https://pysmo.readthedocs.io/

Contributors

  • Helio Tejedor

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

pysmo-0.8.1.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

pysmo-0.8.1-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file pysmo-0.8.1.tar.gz.

File metadata

  • Download URL: pysmo-0.8.1.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.3 Linux/6.2.15-300.fc38.x86_64

File hashes

Hashes for pysmo-0.8.1.tar.gz
Algorithm Hash digest
SHA256 b8aace7df6fdc7c8970c53bbaffd3460eaae9deb22609086cd3f7adf171cdd92
MD5 be64d178c20058914e2d4a65f7a79e68
BLAKE2b-256 05aaed863936ad30800fbb39ae38eff46c79af0ffd4e8cf6c4b64273ed7ca182

See more details on using hashes here.

File details

Details for the file pysmo-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: pysmo-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.3 Linux/6.2.15-300.fc38.x86_64

File hashes

Hashes for pysmo-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a41e039e0f723bcbbc1a157f0595b0b18dc1adff193fadcd5bf605777a54f13
MD5 9d2029ed27a7e1a93f681b888ead852f
BLAKE2b-256 cfa5c1d1663d616d162f55d6d96c5adf3f2c220719655cb60357e3d88c0162f2

See more details on using hashes here.

Supported by

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