Skip to content

Read and write SEGY formatted files using Python

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

cultpenguin/segypy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-2018 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 availabe for SegyPY by

Pete Forman

Andrew Squelch. Extensive reformatting from version 0.3.0 to 0.3.1

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

About

Read and write SEGY formatted files using Python

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published