Skip to main content

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.

Metadata

Release files for napari-filaments 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-filaments 0.5.2
File Size Uploaded
napari_filaments-0.5.2.tar.gz 145.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-filaments 0.5.2
File Interpreter ABI Platform
napari_filaments-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 295.6 kB

Release files / napari_filaments-0.5.2.tar.gz

Download URL napari_filaments-0.5.2.tar.gz
Size 145.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a6ce55cd4952952e69f1ffd14ffd3477db07ec6a4ade24e64957e86309624e65
BLAKE2b-256 checksum
How to use checksums
d58fc2a77d220db79fe47ab2d60699f7378b6389bd86dd1d7afcd9c3cfd7d161
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.2

Release files / napari_filaments-0.5.2-py3-none-any.whl

Download URL napari_filaments-0.5.2-py3-none-any.whl
Size 150.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84d21f5791a357e60dca3cf856f20034b2e17d6fdb8784637428cee667845beb
BLAKE2b-256 checksum
How to use checksums
d4ed9ebe38de767e96f0743ef9698ab8fa288d0afe2cf00f5e6f99c0fb2cdd12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.2

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page