Metadata-Version: 2.4
Name: wiggle
Version: 0.1.1
Summary: Wiggle Plot for Seismic Data Section
Author-email: gatechzhu <gatechzhu@gmail.com>
License: MIT License
        
        Copyright (c) 2017 gatechzhu
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: matplotlib
Dynamic: license-file

# Wiggle Plot for Seismic Data Section

[![Python Package](https://github.com/gatechzhu/wiggle/actions/workflows/python-package.yml/badge.svg)](https://github.com/gatechzhu/wiggle/actions/workflows/python-package.yml)

## Introduction
The [wiggle](http://wiki.aapg.org/Seismic_data_display) display is an ingenious methodology that displays two dimensional scalar fields on a horizontal plane. 
Originally developed by the geophysical community, the wiggle plot was created to provide a visual analysis of seismic and seismological data, or any other vibration data, in order to help the identification of events that can be stressed out with the coherent alignment of lobes. 
Ultimately those events can be related to geological features and/or can help the determination of the some physical properties of rocks, such as the velocity of P and S waves. 
Before digital displays were standard in the industry the wiggle plot was composed either by oscillatory continuous lines and black filled lobes, both drawn by special plotters on long paper sheets. 
Nowadays, when digital graphical displays are easily available, both elements, the lines and the lobes, are merged into a new one display called wiggle.

Inspired by [wiggle in Matlab](https://www.mathworks.com/matlabcentral/fileexchange/38691-wiggle) function, I created this Python tools to mimic the experience of plotting seismic section data in [Matlab](https://www.mathworks.com/products/matlab.html) with similar user interface. 
Basically one can control the color and direction of the lines, the color of the left and right lobes, among others. 
In order to control these features, a controlling string must be provided as input, in a similar way the function PLOT allows control of the graphical elements. 

Given a d M x N ndarray data matrix D, wiggle decompose it into multiple 
traces. 
Under vertical mode (default), each columns is a seismic trace of size M and 
there are N number of traces. 
When horizontal mode is activated, each row is considered a trace of size N 
and there are M number of traces.


## Dependancy
- [NumPy](http://www.numpy.org/)
- [Matplotlib](http://matplotlib.org/)

## Installation
### From PyPI
```
pip install wiggle
```

### From source file
Download source file from [releases page](https://github.com/gatechzhu/wiggle/releases). Under the root directory, run:

```
python setup.py install
```

## Contact

In counter of any trouble, contact *gatechzhu@gmail.com*
