Skip to main content

No project description provided

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysegd3-1.0.2-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file pysegd3-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pysegd3-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pysegd3-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 536a86ec7d5a49fcc2963cc68a6b0315cf6f326669fdc8a40aa4029766d63bdd
MD5 d7da976170bfbb82c4a6b19d126a027a
BLAKE2b-256 b651348b2b949b423c937c796c03f456b1850a2d0481105c558d0125146362a3

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