Skip to main content

napari-phasors

License BSD-3 PyPI Conda Version Python Version tests codecov napari hub Documentation Status DOI

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

Metadata

Release files for napari-phasors 0.8.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-phasors 0.8.2
File Size Uploaded
napari_phasors-0.8.2.tar.gz 2.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-phasors 0.8.2
File Interpreter ABI Platform
napari_phasors-0.8.2-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 MB

Release files / napari_phasors-0.8.2.tar.gz

Download URL napari_phasors-0.8.2.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
a006827c34095d4fe26f91baf156d21b9cc476d79bb469dd5d0fea9ce23e1eb3
BLAKE2b-256 checksum
How to use checksums
dc88aeaa88a46da111706a096991675ecb85aa6e1a310a983b223a3f2e07f453
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / napari_phasors-0.8.2-py3-none-any.whl

Download URL napari_phasors-0.8.2-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c5d4d52d37b2be8128a786e4421cd4f3f4fbb36333914235a38d67ae21d4bc6f
BLAKE2b-256 checksum
How to use checksums
c8c60c6e0c3b34b0ca466fd3b25f96400ffa0581182192943a3036368db5f4e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log
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