pysegd3 1.1.0

Last updated:

0 purchases

pysegd3 1.1.0 Image
pysegd3 1.1.0 Images
Add to Cart

Description:

pysegd3 1.1.0

PYSEGD3
Standalone package to read/write segd rev3 files in python
Install
From Pypi
pip install pysegd3

Form Github (sources)
git clone https://github.com/mlehujeur/pysegd3.git
python -m pip install -e pysegd3

Usages
Load a segd rev 3 file
from pysegd3.readsegd3 import read_segd_rev3

for (trace_header, trace_data) in read_segd_rev3(segdfilename):
print(trace_header) # a python dictionnary built like obspy trace stats header
print(trace_data) # a numpy array

Load as an obspy stream
Obspy is not included in this package
pip install obspy

from pysegd3.readsegd3_as_obspy import read_segd_rev3_as_obspy

stream = read_segd_rev3_as_obspy(segdfilename)
print(stream)

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.