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 is available on PyPI through pip and installed with
pip install segyviewer
to open segyviewer with your chosen <file.segy>
segyviewer <file.segy>
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.
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.
Finally, it is possible to configure various settings such as the current cube, colormap interpolation, export, etc.
To build segyviewer you need:
- Python 2.7 or 3.x.
- numpy version 1.10 or greater
- setuptools version 28 or greater
- setuptools-scm
- PyQt4
- segyio
- matplotlib
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.