Reading and writing SEGY formatted files
Project description
SegyPY : A Python module for reading/writing of SEG-Y formatted files
Copyright (C) 2005-2025 Thomas Mejer Hansen, thomas.mejer.hansen@gmail.com
Currently you can READ IBM Floats, IEEE, 1, 2 and 4 byte INTEGER formatted data, and WRITE anything but IBM Floats.
ACKNOWLEDGEMENT
Secchi Angelo (with Howard Lightstone and Anton Vredegoor): The Ibm2Ieee conversion routines are developed and made available for SegyPY by
Pete Forman
Andrew Squelch. Extensive reformatting from version 0.3.0 to 0.3.1
INSTALLATION
pip install segypy
Example
import segypy
# Set verbose level
segypy.verbose=1;
filename='shotgather.sgy';
# Get only SegyHeader
SH = segypy.getSegyHeader(filename);
# Read Segy File
[Data,SH,STH]=segypy.readSegy(filename);
# Plot Segy file
scale=1e-9;
# wiggle plot
segypy.wiggle(Data,SH,1e-9);
# image plot
segypy.image(Data,SH,scale);
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 segypy-0.60.tar.gz.
File metadata
- Download URL: segypy-0.60.tar.gz
- Upload date:
- Size: 156.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f59e9df2c9f95e4ec578150f3ff8c0b0895d0a95c3f3b062243dbf46438c9d3f
|
|
| MD5 |
b029fc5714b939783e1abc098f89256e
|
|
| BLAKE2b-256 |
8437f6017c8d546ef381507e59df041195f7d9d1cbb9b516506726840f8356bd
|
File details
Details for the file segypy-0.60-py3-none-any.whl.
File metadata
- Download URL: segypy-0.60-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ae16de02e255b4d7f3c551f90258d0cf77f89cde6bbc30be5b7aae316f6fb2d
|
|
| MD5 |
f1d9bd9cff29d9fa5c0106bb243a884f
|
|
| BLAKE2b-256 |
62ae943fb5f8d6b71f1c7aaa5fba4e0f95bcd768f12102d4e67e05711965ab99
|