Skip to main content

Seismic data visualization and plotting utilities

Project description

SeisVis - Seismic Data Visualization Library

A simple and easy-to-use Python library for seismic data visualization, designed for geophysicists and seismic data analysts.

The motivation behind developing seisvis is to reduce repetitive plotting code during paper writing and to enable customized figure generation directly in Python. With SeisVis, users can create high-quality static plots in their preferred style without the need to open and manipulate data in heavy software platforms.

🌟 Features

  • Easy to Use: Minimal API design - create professional seismic visualizations with just a few lines of code
  • Lightweight Dependencies: Only requires matplotlib - no complex environment setup needed
  • Full Dimensional Support: Supports 1D, 2D, and 3D seismic data visualization

🚀 Quick Start

Installation

pip install seisvis

Basic Usage

2D/3D Seismic Visualization with DataCube

This is just a demonstration; We strongly recommend checking out vis_demo.ipynb for more details.

from seisvis.datacube import DataCube
from seisvis import plot2d, plot3d

# Initialize DataCube
data_cube = DataCube()

# Add your data
data_cube.add_seismic("Seis1", seismic_data)
data_cube.add_property("Prop1", property_data)
data_cube.add_horizon("Top", top_horizon)
data_cube.add_horizon("Base", top_horizon)
data_cube.add_well("Well-1", well_data)
data_cube.add_well("Well-2", well_data)

# 2D Section Plotting
config2d = PlotConfig()
size = [il_start, il_end, xl_start, xl_end, t_end, t_start]
plotter2d = plot2d.Seis2DPlotter(data_cube, size, config2d)

# Configure display settings
show_seismic = {'type':'Seis1', 'cmap':'Grey_scales', 'clip':'robust', 'mask':False, 'bar':True}
show_properties = {'type':'Prop1', 'cmap':'AI', 'clip':'robust', 'mask':True, 'bar':False}
show_horizons = {'type':['Top', 'Base'], 'cmap':None, 'clip':None}
show_wells = {'type':['Well-1', 'Well-2'], 'cmap':'AI', 'clip':None, 'width':4}

# Plot inline section
plotter2d.plot_section(section_idx=639, section_type='inline',
                       show_seismic_type=show_seismic,
                       show_properties_type=show_properties,
                       show_horizons_type=show_horizons,
                       show_wells_type=show_wells)

# 3D Visualization
config3d = PlotConfig()
config3d.label_fontsize=14
config3d.tick_labelsize=14
plotter3d = plot3d.Seis3DPlotter(data_cube, size, config3d)
plotter3d.plot_slices(show_seismic_type=show_seismic,
                      show_wells_type=show_wells)

Example Outputs:

  • 2D Inline Section with Horizons and Wells
    inline section

  • 2D Inline Section with Masked Properties and Wells
    3D slices

  • 3D Seismic Slices with Well Overlay
    Well overlay

📊 Main Components

1. 2D Plotting (plot2d)

  • Inline and crossline section visualization
  • Seismic amplitude and property overlay
  • Horizon and well trajectory display

2. 3D Plotting (plot3d)

  • 3D seismic volume slicing
  • Well trajectory in 3D space
  • Static 3D rendering (interactive features planned)

3. DataCube Management

  • Unified data container for seismic projects
  • Support for multiple seismic volumes
  • Horizon and well data integration
  • Easy data organization and access

🔧 Current Limitations

  • 3D Visualization: Currently supports static 3D plots only

📚 Test Data

Sample datasets are available for testing: Google Drive - seisvis Test Data

🙏 Acknowledgments

This project leverages open-source resources and some colormaps from:

We gratefully acknowledge the contributors of these libraries for their valuable tools and visual assets, which enhance the clarity and quality of seismic interpretation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seisvis-0.2.2.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seisvis-0.2.2-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file seisvis-0.2.2.tar.gz.

File metadata

  • Download URL: seisvis-0.2.2.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for seisvis-0.2.2.tar.gz
Algorithm Hash digest
SHA256 68be854b21f1a204c2cb9df80b61bbff97f7bbbb98073e378843f467475fb93e
MD5 7d98bc72002e27219e4709eb03d8c079
BLAKE2b-256 7c5fff1cf5e991cabeed47411b2f03f252184fcd11ff05b61f3512585caad266

See more details on using hashes here.

File details

Details for the file seisvis-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: seisvis-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for seisvis-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 17c61061690664fc1a3b1004d5b54747206e3d1de48e1fe48fcc6d82eb8b88b1
MD5 68e7ced1e50dc2fee71e3d1f1ea2debf
BLAKE2b-256 2be7b22373f5cabfcee1addd798ace07eb6d2244bac692f67130fbcf960317c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page