Python module to read/write/manipulate SAC (Seismic Analysis Code) files
Project description
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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysmo-0.8.3.tar.gz.
File metadata
- Download URL: pysmo-0.8.3.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.3.7-200.fc38.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e68a95bf2e110b2a3e1366d14043e687b25f3fc88ce03fc4bb51d6ce34312b6
|
|
| MD5 |
5c1c1a42c5b39c372027419449d9c438
|
|
| BLAKE2b-256 |
10a8bd794b2837ba67dcc30240e1b0a0aaea248a905aeb601b25528a48c25197
|
File details
Details for the file pysmo-0.8.3-py3-none-any.whl.
File metadata
- Download URL: pysmo-0.8.3-py3-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.3 Linux/6.3.7-200.fc38.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51c1e2ee919bc371e88c106ff22ae633bc7de8ed03b5ca7bb857b939fd2c2495
|
|
| MD5 |
f4236d8a3cb5a8d279ffbc6f2a3d28e4
|
|
| BLAKE2b-256 |
a57c18786f08d509ddf24f87f14f9a71ad6126ec9a2d45ac2a97409f53360f41
|