seisplot


Nameseisplot JSON
Version 1.1.0 PyPI version JSON
download
home_pageNone
SummaryPlotting of seismic data
upload_time2024-08-31 14:49:22
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
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 (usually "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": null,
    "name": "seisplot",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Thomas Hertweck <geophysics@email.de>",
    "keywords": "seismic, display, image, wiggle, variable-density, variable-area",
    "author": null,
    "author_email": "Thomas Hertweck <geophysics@email.de>",
    "download_url": "https://files.pythonhosted.org/packages/69/f5/a3c40e9cb01a1138f63e300e0ab0db865ba9f310d20ed9efce024ea8644b/seisplot-1.1.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 (usually \"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": null,
    "summary": "Plotting of seismic data",
    "version": "1.1.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": "1066eea193a9de39697e3dd8ea2446b3ed0b7c13fa99c1d60a51fb65936e6e86",
                "md5": "7394ce7efa027ba187c2345e247c1b78",
                "sha256": "de2ae18f6cb268f732138af7bdfe11d45390412985d80e72a89f961b0dd6932e"
            },
            "downloads": -1,
            "filename": "seisplot-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7394ce7efa027ba187c2345e247c1b78",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3249726,
            "upload_time": "2024-08-31T14:49:19",
            "upload_time_iso_8601": "2024-08-31T14:49:19.888557Z",
            "url": "https://files.pythonhosted.org/packages/10/66/eea193a9de39697e3dd8ea2446b3ed0b7c13fa99c1d60a51fb65936e6e86/seisplot-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "69f5a3c40e9cb01a1138f63e300e0ab0db865ba9f310d20ed9efce024ea8644b",
                "md5": "dafbfb37534d057e356e9a3d79a6f624",
                "sha256": "440ba575873c25d7049c877f888c7a3cb6e11de12e04b1cb5930e98fb05a3ea1"
            },
            "downloads": -1,
            "filename": "seisplot-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "dafbfb37534d057e356e9a3d79a6f624",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3250305,
            "upload_time": "2024-08-31T14:49:22",
            "upload_time_iso_8601": "2024-08-31T14:49:22.839283Z",
            "url": "https://files.pythonhosted.org/packages/69/f5/a3c40e9cb01a1138f63e300e0ab0db865ba9f310d20ed9efce024ea8644b/seisplot-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-31 14:49:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "seisplot"
}
        
Elapsed time: 1.59082s