Skip to main content

A napari plugin for filament analysis

Project description

napari-filaments

License BSD-3 PyPI Python Version tests codecov napari hub

A napari plugin for filament analysis.

This plugin helps you to manually track filaments using path shapes of Shapes layer.

Currently implemented functions

  • Fit paths to filaments in an image as a 2-D spline curve.
  • Clip/extend paths.
  • Measurement of filament length at sub-pixel precision.
  • Basic quantification (mean, std, etc.) along paths.
  • Import paths from ImageJ ROI file.

Basic Usage

Click Layers > open image to open a tif file. You'll find the image you chose and a shapes layer are added to the layer list.

  • The "target filaments" box shows the working shapes layer.
  • The "target image" box shows the image layer on which fitting and quantification will be conducted.
  • The "filament" box shows currently selected shape (initially this box is empty).

Add path shapes and push key F1 to fit the shape to the filament in the target image layer.

  • In the "Spline" tab, you can cut/extend or re-fit splines.
  • In the "Measure" tab, click "measure property" to measure mean instensity etc along each spline.

How it works

Spline fitting is done as following.


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

Installation

You can install napari-filaments via pip:

pip install napari-filaments

To install latest development version :

pip install git+https://github.com/hanjinliu/napari-filaments.git

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-filaments" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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_filaments-0.3.0.tar.gz (129.7 kB view details)

Uploaded Source

Built Distribution

napari_filaments-0.3.0-py3-none-any.whl (131.5 kB view details)

Uploaded Python 3

File details

Details for the file napari_filaments-0.3.0.tar.gz.

File metadata

  • Download URL: napari_filaments-0.3.0.tar.gz
  • Upload date:
  • Size: 129.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for napari_filaments-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3b8a6c2f21efa7a24f760ba561e42ac06772a75f6e773f2cd89e723f4ac919ad
MD5 73cc115f8ecbe417921c8c63b8fd8844
BLAKE2b-256 2b3241317bd26442f5bf7821faefdfc13716c359cb05f6387461e52073ed4fac

See more details on using hashes here.

File details

Details for the file napari_filaments-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_filaments-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e542b031c5455bea078ca8825759ce2f6a6441de428e5d9d07f690ca79a9140e
MD5 f47e149ad89d127db15b53caaaeac2c1
BLAKE2b-256 4bee60be86983b278a55d098d6bc3817cdb98b268df5289cf9f37816dfd0a5cf

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