Skip to main content
https://img.shields.io/pypi/v/segypy.svg?style=flat-square https://img.shields.io/pypi/pyversions/segypy.svg?style=flat-square https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square

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);

Metadata

Release files for segypy 0.60

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for segypy 0.60
File Size Uploaded
segypy-0.60.tar.gz 156.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for segypy 0.60
File Interpreter ABI Platform
segypy-0.60-py3-none-any.whl Python 3 none any Details

Total release size: 186.8 kB

Release files / segypy-0.60.tar.gz

Download URL segypy-0.60.tar.gz
Size 156.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f59e9df2c9f95e4ec578150f3ff8c0b0895d0a95c3f3b062243dbf46438c9d3f
BLAKE2b-256 checksum
How to use checksums
8437f6017c8d546ef381507e59df041195f7d9d1cbb9b516506726840f8356bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / segypy-0.60-py3-none-any.whl

Download URL segypy-0.60-py3-none-any.whl
Size 29.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ae16de02e255b4d7f3c551f90258d0cf77f89cde6bbc30be5b7aae316f6fb2d
BLAKE2b-256 checksum
How to use checksums
62ae943fb5f8d6b71f1c7aaa5fba4e0f95bcd768f12102d4e67e05711965ab99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.60 This release

2 release files

0.59

2 release files

0.58

2 release files

0.57

2 release files

0.56

2 release files

0.55

2 release files

0.54

2 release files

0.53

2 release files

0.52

2 release files

0.51

2 release files

0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page