napari-plot-profile


Namenapari-plot-profile JSON
Version 0.2.2 PyPI version JSON
download
home_pagehttps://github.com/haesleinhuepf/napari-plot-profile
SummaryPlot intensity along a line and create topographical views in napari
upload_time2022-10-05 15:15:07
maintainer
docs_urlNone
authorRobert Haase, Marcelo Leomil Zoccoler
requires_python>=3.7
licenseBSD-3-Clause
keywords
VCS
bugtrack_url
requirements numpy pyqtgraph napari napari-tools-menu napari-skimage-regionprops None
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # napari-plot-profile (npp)

[![License](https://img.shields.io/pypi/l/napari-plot-profile.svg?color=green)](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/napari-plot-profile.svg?color=green)](https://pypi.org/project/napari-plot-profile)
[![Python Version](https://img.shields.io/pypi/pyversions/napari-plot-profile.svg?color=green)](https://python.org)
[![tests](https://github.com/haesleinhuepf/napari-plot-profile/workflows/tests/badge.svg)](https://github.com/haesleinhuepf/napari-plot-profile/actions)
[![codecov](https://codecov.io/gh/haesleinhuepf/napari-plot-profile/branch/master/graph/badge.svg)](https://codecov.io/gh/haesleinhuepf/napari-plot-profile)
[![Development Status](https://img.shields.io/pypi/status/napari-plot-profile.svg)](https://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha)
[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-plot-profile)](https://napari-hub.org/plugins/napari-plot-profile)

## Plot a Line Profile

Plot intensities along a line in [napari].

![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/napari-plot-profile-screencast.gif)

* Open some images in [napari].
  
* Add a shapes layer.

![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/add_shapes_layer_screenshot.png)
  
* Activate the line drawing tool or the path tool and draw a line.

![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/draw_line_tool_screenshot.png)
  
* After drawing a line, click on the menu Plugins > Measurements (Plot Profile)
* If you modify the line, you may want to click the "Refresh" button to redraw the profile.

![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/redraw_screenshot.png)

To see how these steps can be done programmatically from python, check out the [demo notebook](https://github.com/haesleinhuepf/napari-plot-profile/blob/main/docs/demo.ipynb)

## Create a Topographical View

Create a 3D view of a 2D image by warping pixel intensities to heights. It can be displayed as a 3D image layer, a points cloud layer or a surface layer.

![](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/topographical_view_screencast.gif)

This [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.

----------------------------------

## Installation

You can install `napari-plot-profile` via [pip]:

    pip install napari-plot-profile

## Contributing

Contributions are very welcome. Tests can be run with [tox], please ensure
the coverage at least stays the same before you submit a pull request.

## License

Distributed under the terms of the [BSD-3] license,
"napari-plot-profile" is free and open source software

## Issues

If you encounter any problems, please create a thread on [image.sc] along with a detailed description and tag [@haesleinhuepf].

[napari]: https://github.com/napari/napari
[Cookiecutter]: https://github.com/audreyr/cookiecutter
[@napari]: https://github.com/napari
[MIT]: http://opensource.org/licenses/MIT
[BSD-3]: http://opensource.org/licenses/BSD-3-Clause
[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt
[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt
[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0
[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt
[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin

[file an issue]: https://github.com/haesleinhuepf/napari-plot-profile/issues

[napari]: https://github.com/napari/napari
[tox]: https://tox.readthedocs.io/en/latest/
[pip]: https://pypi.org/project/pip/
[PyPI]: https://pypi.org/
[image.sc]: https://image.sc
[@haesleinhuepf]: https://twitter.com/haesleinhuepf

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/haesleinhuepf/napari-plot-profile",
    "name": "napari-plot-profile",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Robert Haase, Marcelo Leomil Zoccoler",
    "author_email": "robert.haase@tu-dresden.de",
    "download_url": "https://files.pythonhosted.org/packages/ea/ff/aaf787d79508da89565a533b7e630394418f5f7b3886840ae2405660b8db/napari-plot-profile-0.2.2.tar.gz",
    "platform": null,
    "description": "# napari-plot-profile (npp)\n\n[![License](https://img.shields.io/pypi/l/napari-plot-profile.svg?color=green)](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-plot-profile.svg?color=green)](https://pypi.org/project/napari-plot-profile)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-plot-profile.svg?color=green)](https://python.org)\n[![tests](https://github.com/haesleinhuepf/napari-plot-profile/workflows/tests/badge.svg)](https://github.com/haesleinhuepf/napari-plot-profile/actions)\n[![codecov](https://codecov.io/gh/haesleinhuepf/napari-plot-profile/branch/master/graph/badge.svg)](https://codecov.io/gh/haesleinhuepf/napari-plot-profile)\n[![Development Status](https://img.shields.io/pypi/status/napari-plot-profile.svg)](https://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha)\n[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-plot-profile)](https://napari-hub.org/plugins/napari-plot-profile)\n\n## Plot a Line Profile\n\nPlot intensities along a line in [napari].\n\n![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/napari-plot-profile-screencast.gif)\n\n* Open some images in [napari].\n  \n* Add a shapes layer.\n\n![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/add_shapes_layer_screenshot.png)\n  \n* Activate the line drawing tool or the path tool and draw a line.\n\n![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/draw_line_tool_screenshot.png)\n  \n* After drawing a line, click on the menu Plugins > Measurements (Plot Profile)\n* If you modify the line, you may want to click the \"Refresh\" button to redraw the profile.\n\n![img.png](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/redraw_screenshot.png)\n\nTo see how these steps can be done programmatically from python, check out the [demo notebook](https://github.com/haesleinhuepf/napari-plot-profile/blob/main/docs/demo.ipynb)\n\n## Create a Topographical View\n\nCreate a 3D view of a 2D image by warping pixel intensities to heights. It can be displayed as a 3D image layer, a points cloud layer or a surface layer.\n\n![](https://github.com/haesleinhuepf/napari-plot-profile/raw/main/docs/topographical_view_screencast.gif)\n\nThis [napari] plugin was generated with [Cookiecutter] using with [@napari]'s [cookiecutter-napari-plugin] template.\n\n----------------------------------\n\n## Installation\n\nYou can install `napari-plot-profile` via [pip]:\n\n    pip install napari-plot-profile\n\n## Contributing\n\nContributions are very welcome. Tests can be run with [tox], please ensure\nthe coverage at least stays the same before you submit a pull request.\n\n## License\n\nDistributed under the terms of the [BSD-3] license,\n\"napari-plot-profile\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please create a thread on [image.sc] along with a detailed description and tag [@haesleinhuepf].\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[MIT]: http://opensource.org/licenses/MIT\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\n[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt\n[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt\n[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0\n[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\n\n[file an issue]: https://github.com/haesleinhuepf/napari-plot-profile/issues\n\n[napari]: https://github.com/napari/napari\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/\n[image.sc]: https://image.sc\n[@haesleinhuepf]: https://twitter.com/haesleinhuepf\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Plot intensity along a line and create topographical views in napari",
    "version": "0.2.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "8a020f55272680f71298eac592b03bed",
                "sha256": "3848a3d6bb3e55ec8f13b57f2c64cbd06029a5dd74daec77dd3a8fd089809dd7"
            },
            "downloads": -1,
            "filename": "napari_plot_profile-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8a020f55272680f71298eac592b03bed",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 11802,
            "upload_time": "2022-10-05T15:15:04",
            "upload_time_iso_8601": "2022-10-05T15:15:04.990462Z",
            "url": "https://files.pythonhosted.org/packages/9b/78/842f65a1aa50ba745411e6473d5d5b4c7641e42edfc0788b2103ec3d4a30/napari_plot_profile-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "77779a4f0ff677bd007c7644b5e82074",
                "sha256": "1a1f087b23eaa71a16f0ffde66e965fd7f6b69e5d52b3664c7db295f30fed501"
            },
            "downloads": -1,
            "filename": "napari-plot-profile-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "77779a4f0ff677bd007c7644b5e82074",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 12078,
            "upload_time": "2022-10-05T15:15:07",
            "upload_time_iso_8601": "2022-10-05T15:15:07.307450Z",
            "url": "https://files.pythonhosted.org/packages/ea/ff/aaf787d79508da89565a533b7e630394418f5f7b3886840ae2405660b8db/napari-plot-profile-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-10-05 15:15:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "haesleinhuepf",
    "github_project": "napari-plot-profile",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "pyqtgraph",
            "specs": []
        },
        {
            "name": "napari",
            "specs": []
        },
        {
            "name": "napari-tools-menu",
            "specs": []
        },
        {
            "name": "napari-skimage-regionprops",
            "specs": [
                [
                    ">=",
                    "0.2.4"
                ]
            ]
        },
        {
            "name": null,
            "specs": []
        }
    ],
    "tox": true,
    "lcname": "napari-plot-profile"
}
        
Elapsed time: 0.02164s