Last updated:
0 purchases
pysmo 0.8.3
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.