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.0.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.0-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyaobs-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 178c32eea8a18f9f904064787d4e616ee7b30925097fb35f79e8470bacc87f0a
MD5 e4767e2c7386d03418938127b4ff1406
BLAKE2b-256 1562f60426a04c0234316ae9747156e3a0e443a6d5d5ffeedffc52e6fe10b9fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyAOBS-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2772913b55e1f7486cf903ad62cf0f4faec837a9e5d336e0c40e0d9c1b702dec
MD5 efb3fce3e0c7fdf6e131374768ba6dec
BLAKE2b-256 96910d7f143770f5555da0d53217ead7144dd24d2181781ad4606b278569e110

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