Skip to main content

A package for seismic data processing and visualization

Project description

pyAOBS

License: MIT Python 3.7+

A Python package for seismic data processing and visualization, with a focus on ZELT format velocity models.

Features

  • Read and write ZELT format velocity models (v.in files)
  • Process and manipulate velocity models
  • Interpolate velocities at arbitrary points
  • Average layer velocities
  • Export to various formats
  • Visualization tools using PyGMT and Matplotlib
  • Support for time and depth domain data

Installation

From PyPI (Recommended)

pip install pyAOBS

From Source

git clone https://github.com/go223-pyAOBS/pyAOBS.git
cd pyAOBS
pip install -e .

Dependencies

  • numpy >= 1.20.0
  • xarray >= 0.16.0
  • scipy >= 1.6.0
  • matplotlib >= 3.3.0
  • pandas >= 1.2.0
  • pygmt >= 0.5.0

Usage

from pyAOBS.model_building import ZeltVelocityModel2d, EnhancedZeltModel

# Basic usage
model = ZeltVelocityModel2d("velocity.in")
velocity = model.at(100.0, 1.5)  # Get velocity at point (100.0, 1.5)

# Enhanced features
enhanced_model = EnhancedZeltModel("velocity.in")
avg_velocities = enhanced_model.compute_average_velocities()

# Visualization
from pyAOBS.visualization import ZeltModelVisualizer

visualizer = ZeltModelVisualizer(model)
visualizer.plot_zeltmodel(
    output_file="velocity_model.png",
    title="Velocity Model",
    colorbar_label="Velocity (km/s)"
)

Documentation

For detailed documentation and examples, please visit our documentation page.

Contributing

We welcome contributions! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Haibo Huang (go223@scsio.ac.cn)

Citation

If you use pyAOBS in your research, please cite:

@software{pyAOBS2024,
  author = {Haibo Huang},
  title = {pyAOBS: A Python Package for Seismic Data Processing and Visualization},
  year = {2024},
  publisher = {GitHub},
  url = {https://github.com/go223-pyAOBS/pyAOBS}
}

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

pyaobs-0.1.1.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

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

pyAOBS-0.1.1-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

Details for the file pyaobs-0.1.1.tar.gz.

File metadata

  • Download URL: pyaobs-0.1.1.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for pyaobs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7d4a2cb70637def5b032167ef97c00fc3266179aada9b74b9b0815791d57c1dc
MD5 cdddfa86e8f8018c4a1bbbca74738962
BLAKE2b-256 c1a2ff121f736914df3a781ffd7a4dd9cd9f54a7e182255ae9f72c4dc5717a2e

See more details on using hashes here.

File details

Details for the file pyAOBS-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyAOBS-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 52.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for pyAOBS-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9aa98bd7428dd86d6b5e9a424e51d7237a53462a39eed86898df268a8380df6
MD5 cf107034ce2e77a9698796b422e8f92d
BLAKE2b-256 f33c7322404e1f260110dac1df227d65aa92595ec887dbca9baeea9ec4f60884

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