Skip to content

equinor/segyviewer

Repository files navigation

segyviewer Build Status

Segyviewer is a small LGPL licensed python library for easy viewing of SEG-Y files. It uses the segyio library for reading files.

This project also provides the segyviewlib which is a collection of views that can be used in other Python projects.

segyviewer

Getting started

Segyviewer is available on PyPI through pip and installed with

pip install segyviewer

to open segyviewer with your chosen <file.segy>

segyviewer <file.segy>

Configuring the view

You can select from a multitude of colormaps (see the documentation from Matplotlib for an overview). The default color is the industry standard "seismic" color.

segyviewer colormaps

The optimal layout (the position of the tiles) of the crossline/inline/depth windows depends on the SEG-Y file. It is therefore possible to configure the layout.

segyviewer general settings

Finally, it is possible to configure various settings such as the current cube, colormap interpolation, export, etc.

segyviewer general settings

Build Segyviewer

To build segyviewer you need:

To build and install segyviewer, perform the following actions in your console:

git clone https://github.com/equinor/segyviewer
cd segyviewer
python setup.py build
python setup.py install

Please note that the required library pyqt4 is not listed in requirements.txt. QT not longer supports PyQt4 and as such it is not possible to pip install PyQt4. Setup.py, which uses pip, would fail if PyQt4 was listed in requirements.txt.