seisplot


Nameseisplot JSON
Version 1.0.0 PyPI version JSON
download
home_page
SummaryPlotting of seismic data
upload_time2024-01-02 18:10:06
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords seismic display image wiggle variable-density variable-area
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # seisplot

Plotting of seismic data using variable-density or variable-area wiggle displays.

## Description

The seisplot module provides a single, highly flexible method *plot()* to 
display seismic data.

The module was designed to get decent displays of seismic data in a way that
is more convenient than going through many individual Matplotlib function calls
explicitly. However, if required Matplotlib methods can also be called directly.
The code is pure Python and kept deliberately simple to get students 
participating our Geophysics classes and exercises going with Python and 
seismic data. 

## Key features

* Variable-density image plots.
* Variable-area wiggle plots.
* Highly configurable settings like colors, line widths, colorbars, labels, 
  axis ticks, grid lines, etc.

<p align="center">
![Image plot](img/img1.png "Variable-density image plot")
![Wiggle plot](img/img2.png "Variable-area wiggle plot")
![Velocity plot](img/img3.png "Non-seismic data plot")
![Fielddata plot](img/img4.png "Trace-normalized field data plot")
</p>

## Getting Started

### Dependencies

Required: numpy, matplotlib

### Installation

*Install from PyPI:*

```
$> pip install seisplot
```

*Install directly from gitlab:*

```
$> pip install git+https://gitlab.kit.edu/thomas.hertweck/seisplot.git
```

*Editable install from source:*

This version is intended for experts who would like to test the latest 
version or make modifications. Normal users should prefer to install a 
stable version.

```
$> git clone https://gitlab.kit.edu/thomas.hertweck/seisplot.git
```

Once you acquired the source, you can install an editable version of seisplot 
with:

```
$> cd seisplot
$> pip install -e .
```

## Brief tutorial

For a demonstration of various features and much more, please visit the 
"examples" folder where several Jupyter notebooks (tutorials) are available.

Plotting seismic data (for instance, read with our __seisio__ package and
therefore available as Numpy structured array including trace headers) can be
as simple as:

```
import seisplot

fig, ax = seisplot.plot(data, haxis="offset", width=4, height=6,
                        vlabel="Time (s)", hlabel="Offset (m)", 
                        vmajorticks=0.2, vminorticks=0.1, hminorticks=500
                        vgrid="major")
```
The variables `fig` and `ax` are standard Matplotlib figure and axis handles
that can be used to tweak the display further. You could also create those
first using `fig, ax = plt.subplots(1, 1)` and pass them to the *plot()* method.
In this way, it is possible to, for instance, create several seismic displays in
one figure, or create displays that share the y-axis (usualy "time").

## Main author

Dr. Thomas Hertweck, geophysics@email.de

## License

This project is licensed under the LGPL v3.0 License - see the LICENSE.md 
file for details

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "seisplot",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Thomas Hertweck <geophysics@email.de>",
    "keywords": "seismic,display,image,wiggle,variable-density,variable-area",
    "author": "",
    "author_email": "Thomas Hertweck <geophysics@email.de>",
    "download_url": "https://files.pythonhosted.org/packages/9b/bd/f003acd382a3bc4896734505b75fe86d094a9bd59c37ef816cf244b01534/seisplot-1.0.0.tar.gz",
    "platform": null,
    "description": "# seisplot\n\nPlotting of seismic data using variable-density or variable-area wiggle displays.\n\n## Description\n\nThe seisplot module provides a single, highly flexible method *plot()* to \ndisplay seismic data.\n\nThe module was designed to get decent displays of seismic data in a way that\nis more convenient than going through many individual Matplotlib function calls\nexplicitly. However, if required Matplotlib methods can also be called directly.\nThe code is pure Python and kept deliberately simple to get students \nparticipating our Geophysics classes and exercises going with Python and \nseismic data. \n\n## Key features\n\n* Variable-density image plots.\n* Variable-area wiggle plots.\n* Highly configurable settings like colors, line widths, colorbars, labels, \n  axis ticks, grid lines, etc.\n\n<p align=\"center\">\n![Image plot](img/img1.png \"Variable-density image plot\")\n![Wiggle plot](img/img2.png \"Variable-area wiggle plot\")\n![Velocity plot](img/img3.png \"Non-seismic data plot\")\n![Fielddata plot](img/img4.png \"Trace-normalized field data plot\")\n</p>\n\n## Getting Started\n\n### Dependencies\n\nRequired: numpy, matplotlib\n\n### Installation\n\n*Install from PyPI:*\n\n```\n$> pip install seisplot\n```\n\n*Install directly from gitlab:*\n\n```\n$> pip install git+https://gitlab.kit.edu/thomas.hertweck/seisplot.git\n```\n\n*Editable install from source:*\n\nThis version is intended for experts who would like to test the latest \nversion or make modifications. Normal users should prefer to install a \nstable version.\n\n```\n$> git clone https://gitlab.kit.edu/thomas.hertweck/seisplot.git\n```\n\nOnce you acquired the source, you can install an editable version of seisplot \nwith:\n\n```\n$> cd seisplot\n$> pip install -e .\n```\n\n## Brief tutorial\n\nFor a demonstration of various features and much more, please visit the \n\"examples\" folder where several Jupyter notebooks (tutorials) are available.\n\nPlotting seismic data (for instance, read with our __seisio__ package and\ntherefore available as Numpy structured array including trace headers) can be\nas simple as:\n\n```\nimport seisplot\n\nfig, ax = seisplot.plot(data, haxis=\"offset\", width=4, height=6,\n                        vlabel=\"Time (s)\", hlabel=\"Offset (m)\", \n                        vmajorticks=0.2, vminorticks=0.1, hminorticks=500\n                        vgrid=\"major\")\n```\nThe variables `fig` and `ax` are standard Matplotlib figure and axis handles\nthat can be used to tweak the display further. You could also create those\nfirst using `fig, ax = plt.subplots(1, 1)` and pass them to the *plot()* method.\nIn this way, it is possible to, for instance, create several seismic displays in\none figure, or create displays that share the y-axis (usualy \"time\").\n\n## Main author\n\nDr. Thomas Hertweck, geophysics@email.de\n\n## License\n\nThis project is licensed under the LGPL v3.0 License - see the LICENSE.md \nfile for details\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Plotting of seismic data",
    "version": "1.0.0",
    "project_urls": {
        "Repository": "https://gitlab.kit.edu/thomas.hertweck/seisplot"
    },
    "split_keywords": [
        "seismic",
        "display",
        "image",
        "wiggle",
        "variable-density",
        "variable-area"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66c433de752c513770075a58d1687bf8fc62fcdf5364db55dfd2b9aae7e1cb3f",
                "md5": "abaaa867be8d65a9146ebf9ac553ee0b",
                "sha256": "5ab8c1160f6a96e6afee17a9e6c1bfd5a8895839eb6aec07e0ffbdcb5c91b395"
            },
            "downloads": -1,
            "filename": "seisplot-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "abaaa867be8d65a9146ebf9ac553ee0b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3123268,
            "upload_time": "2024-01-02T18:10:01",
            "upload_time_iso_8601": "2024-01-02T18:10:01.205823Z",
            "url": "https://files.pythonhosted.org/packages/66/c4/33de752c513770075a58d1687bf8fc62fcdf5364db55dfd2b9aae7e1cb3f/seisplot-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9bbdf003acd382a3bc4896734505b75fe86d094a9bd59c37ef816cf244b01534",
                "md5": "6433e85f99e46fde8602a04b1192c063",
                "sha256": "8ad87137e2ead63bf7d737b1b724bfe1d9eceaadbfa985256a5da4ab832876bb"
            },
            "downloads": -1,
            "filename": "seisplot-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6433e85f99e46fde8602a04b1192c063",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3123686,
            "upload_time": "2024-01-02T18:10:06",
            "upload_time_iso_8601": "2024-01-02T18:10:06.335710Z",
            "url": "https://files.pythonhosted.org/packages/9b/bd/f003acd382a3bc4896734505b75fe86d094a9bd59c37ef816cf244b01534/seisplot-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-02 18:10:06",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "seisplot"
}
        
Elapsed time: 0.16744s