Metadata-Version: 2.4
Name: segypy
Version: 0.58
Summary: Reading and writing SEGY formatted files
Author-email: Thomas Mejer Hansen <thomas.mejer.hansen@gmail.com>
License: Copyright 2018 Thomas Mejer Hansen
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
Project-URL: Homepage, https://github.com/cultpenguin/segypy
Project-URL: Download, https://github.com/cultpenguin/segypy/archive/master.zip
Keywords: segy,reading,writing
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: LICENSE.txt
Requires-Dist: numpy>=1.19.0
Dynamic: license-file


.. image:: https://img.shields.io/pypi/v/segypy.svg?style=flat-square
    :target: https://pypi.org/project/segypy

.. image:: https://img.shields.io/pypi/pyversions/segypy.svg?style=flat-square
    :target: https://pypi.org/project/segypy

.. image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
    :target: https://en.wikipedia.org/wiki/MIT_License


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
_____________


.. code:: 

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


