Skip to main content

Plot intensity along a line and create topographical views in napari

Project description

napari-plot-profile (npp)

License PyPI Python Version tests codecov Development Status napari hub

Plot a Line Profile

Plot intensities along a line in napari.

img.png

  • Open some images in napari.

  • Add a shapes layer.

img.png

  • Activate the line drawing tool or the path tool and draw a line.

img.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

To see how these steps can be done programmatically from python, check out the demo notebook

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari-plot-profile-0.2.2.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

napari_plot_profile-0.2.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file napari-plot-profile-0.2.2.tar.gz.

File metadata

  • Download URL: napari-plot-profile-0.2.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for napari-plot-profile-0.2.2.tar.gz
Algorithm Hash digest
SHA256 1a1f087b23eaa71a16f0ffde66e965fd7f6b69e5d52b3664c7db295f30fed501
MD5 77779a4f0ff677bd007c7644b5e82074
BLAKE2b-256 eaffaaf787d79508da89565a533b7e630394418f5f7b3886840ae2405660b8db

See more details on using hashes here.

File details

Details for the file napari_plot_profile-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_plot_profile-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3848a3d6bb3e55ec8f13b57f2c64cbd06029a5dd74daec77dd3a8fd089809dd7
MD5 8a020f55272680f71298eac592b03bed
BLAKE2b-256 9b78842f65a1aa50ba745411e6473d5d5b4c7641e42edfc0788b2103ec3d4a30

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page