Wiggle Plot for Seismic Data Section
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.
Metadata
Release files for wiggle 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wiggle-0.1.2.tar.gz | 90.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wiggle-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 96.8 kB
Release files / wiggle-0.1.2.tar.gz
| Download URL | wiggle-0.1.2.tar.gz |
|---|---|
| Size | 90.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1eee9a8a4192bb41a253396d255a9199b792c910cc4db9bad1a14a28b869bbb
|
|
BLAKE2b-256 checksum How to use checksums |
3505b9ddd97f4f588ed8bcbc75cf6cc79abddc64ae9b93176baf79fd3b593768
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / wiggle-0.1.2-py3-none-any.whl
| Download URL | wiggle-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0b9164cfd2e8c1a41df62826fbac472de4f1ff5a3071d467949881198f8b333
|
|
BLAKE2b-256 checksum How to use checksums |
cb7dbaf5cb9155c4b6ae4475fadc6e585c61eadd95bd9b868677e52872ba811e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|