Skip to main content

Wiggle Plot for Seismic Data Section

Project description

Wiggle Plot for Seismic Data Section

PyPI version License Python versions CI/CD

Introduction

The wiggle display is a visualization methodology for two-dimensional scalar fields on a horizontal plane. Originally developed by the geophysical community, wiggle plots provide visual analysis of seismic, seismological, or any other vibration data — helping identify events through the coherent alignment of lobes that relate to geological features and physical rock properties.

Inspired by the MATLAB wiggle function, this Python package offers a similar interface for plotting seismic section data with control over colour, amplitude, and axis orientation.

Given an M × N ndarray, wiggle decomposes it into N traces of length M (column-major, vertical mode by default).

Installation

From PyPI

pip install wiggle

From source (development)

git clone https://github.com/lijunzh/wiggle.git
cd wiggle
uv sync --all-extras --dev

Build a distribution:

uv build

Quick Start

import numpy as np
from wiggle import wiggle

data = np.random.default_rng(42).standard_normal((200, 20))
ax = wiggle(data, sf=0.15)

Dependencies

Development

Linting and formatting are handled by Ruff:

uv run ruff check src tests
uv run ruff format src tests

Run tests:

uv run pytest

Pre-commit hooks are available:

uv run pre-commit install

Contact

For issues, please open a GitHub issue or contact gatechzhu@gmail.com.

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

wiggle-0.1.2.tar.gz (90.3 kB view details)

Uploaded Source

Built Distribution

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

wiggle-0.1.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file wiggle-0.1.2.tar.gz.

File metadata

  • Download URL: wiggle-0.1.2.tar.gz
  • Upload date:
  • Size: 90.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wiggle-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f1eee9a8a4192bb41a253396d255a9199b792c910cc4db9bad1a14a28b869bbb
MD5 32f3bd20e001fe830d80c84ade4cc0c1
BLAKE2b-256 3505b9ddd97f4f588ed8bcbc75cf6cc79abddc64ae9b93176baf79fd3b593768

See more details on using hashes here.

File details

Details for the file wiggle-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wiggle-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wiggle-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0b9164cfd2e8c1a41df62826fbac472de4f1ff5a3071d467949881198f8b333
MD5 81bf626edd1b7cf5e6a7501bf5784960
BLAKE2b-256 cb7dbaf5cb9155c4b6ae4475fadc6e585c61eadd95bd9b868677e52872ba811e

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