napari-phasors
A comprehensive plugin for phasor analysis in napari. Based on the phasorpy library.
Documentation
Full documentation, including step-by-step guides and the API reference, is available at https://napari-phasors.readthedocs.io.
Features
- Reading a wide range of FLIM and hyperspectral file formats:
- Raw data formats:
.ptu,.fbd,.sdt,.lsm,.tif,.tiff,.czi,.flif,.bh,.b&h,.bhz,.lif,.bin,.json
- Processed data formats:
.ome.tif,.ome.tiff,.r64,.ref,.ifli,.lif,.json
- Raw data formats:
- Phasor analysis on multiple layers simultaneously, including support for stacking multiple raw data files
- Calibration using reference images with known lifetimes
- Filtering with median, wavelet (binlet pawFLIM), and automatic thresholding (Otsu, Li, Yen)
- Component analysis for multi-component systems
- Phasor Mapping — colormap apparent/normal lifetime, phasor phase, and phasor modulation per pixel, with interactive 1D histograms, statistics tables, and arc overlay tools
- FRET analysis with donor trajectory visualization and multi-layer donor/background source selection
- Selections via manual drawing, circular/polar/elliptical cursors, and automatic clustering
- Time-lapse analysis — the phasor plot, histogram and statistics follow napari's own dimension slider (including its play button), with a per-frame statistics table, GIF animation export, and statistics exported pooled or per timepoint
- Exporting results as OME-TIF or CSV (multiple layers simultaneously)
- Batch Analysis — apply the same reading and analysis pipeline (calibration, filtering, masking, component analysis, phasor mapping, FRET, selections) to every file in a folder and export the results headlessly
Installation
There are several ways to install napari-phasors:
Easiest: napari's plugin manager
If you already have napari installed, go to Plugins → Install/Uninstall Plugins..., search for napari-phasors, and click Install.
Standalone installer (no Python required)
Pre-built installers for Windows (.exe), macOS
(.dmg), and Linux (.sh) are available on the
latest release
page. Download and run — no Python installation
needed. Installers are ~350–470 MB and bundle
everything required.
Using conda (conda-forge)
napari-phasors is available on the
conda-forge channel,
which installs napari, Qt, and every dependency in one step. We recommend
using miniforge. If you use Anaconda or
Miniconda, replace mamba with conda.
mamba create -y -n napari-phasors-env -c conda-forge napari-phasors
Activate the environment:
conda activate napari-phasors-env
napari
Using conda + pip
Alternatively, create a plain conda environment and install napari-phasors from PyPI (useful to get a release before it lands on conda-forge):
mamba create -y -n napari-phasors-env napari pyqt6 python=3.14 # or 3.12, 3.13
Activate the environment :
conda activate napari-phasors-env
pip install napari-phasors
Development version
pip install git+https://github.com/napari-phasors/napari-phasors.git
Contributing
Contributions are very welcome. See the contributing guide for how to set up a development environment, run the tests, and submit a pull request.
This project adheres to a Code of Conduct; by participating, you are expected to uphold it.
License
Distributed under the terms of the BSD-3 license, "napari-phasors" is free and open source software.
Please cite doi: https://doi.org/10.5281/zenodo.14647626 if napari-phasors contributes to a project that leads to a publication.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file napari_phasors-0.7.1.tar.gz.
File metadata
- Download URL: napari_phasors-0.7.1.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dd61cb81680e4cc22324c8edc627495e7c44b408d2f617b67acfaa7c0b234a6
|
|
| MD5 |
01d80228279b15157a64e23fe8b7749b
|
|
| BLAKE2b-256 |
798dfd97848b55a53d788fca8233e7e2f0efa9433bbf16b594fe752932b53fd2
|
Provenance
The following attestation bundles were made for napari_phasors-0.7.1.tar.gz:
Publisher:
run-tests.yml on napari-phasors/napari-phasors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_phasors-0.7.1.tar.gz -
Subject digest:
3dd61cb81680e4cc22324c8edc627495e7c44b408d2f617b67acfaa7c0b234a6 - Sigstore transparency entry: 2293171563
- Sigstore integration time:
-
Permalink:
napari-phasors/napari-phasors@b334f36f251d01bdeec4e1a01dd7c2d5afb49ec9 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/napari-phasors
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
run-tests.yml@b334f36f251d01bdeec4e1a01dd7c2d5afb49ec9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file napari_phasors-0.7.1-py3-none-any.whl.
File metadata
- Download URL: napari_phasors-0.7.1-py3-none-any.whl
- Upload date:
- Size: 599.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87334b02eeef0e4fb3acd9b723d07352c6b0189e9bd597e8feaf8e51231720c8
|
|
| MD5 |
6170558e36a5fb48898962dd577f5d6c
|
|
| BLAKE2b-256 |
0ae6237bd74a6f7301992144b5237cf6fd023b3731aa7bd8f5868b4229caddab
|
Provenance
The following attestation bundles were made for napari_phasors-0.7.1-py3-none-any.whl:
Publisher:
run-tests.yml on napari-phasors/napari-phasors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_phasors-0.7.1-py3-none-any.whl -
Subject digest:
87334b02eeef0e4fb3acd9b723d07352c6b0189e9bd597e8feaf8e51231720c8 - Sigstore transparency entry: 2293171708
- Sigstore integration time:
-
Permalink:
napari-phasors/napari-phasors@b334f36f251d01bdeec4e1a01dd7c2d5afb49ec9 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/napari-phasors
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
run-tests.yml@b334f36f251d01bdeec4e1a01dd7c2d5afb49ec9 -
Trigger Event:
push
-
Statement type: