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.1.3.tar.gz (22.2 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.1.3-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for seisvis-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4a08aa01a550592a9c6f98fbc8948d80bd98e1c69ce4267f6342cc9a768b85e2
MD5 2e476a41d79dd64abe0131414d6cebc6
BLAKE2b-256 37b3541746179e77ad056fb16ce9b3be660a92001f53fe6e787f8cf8c17d47ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seisvis-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a2785a4fa87b61687dc9650251d6ffd804499087237fdfcf5d22361d80f98427
MD5 6427ccc75303229bc65949e2909775e7
BLAKE2b-256 0fc65fcd82ac547a5c9daaa172a62ae88577e6b01ed65130e789fd31fbf3c47c

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