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

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.1
File Size Uploaded
napari_phasors-0.8.1.tar.gz 2.7 MB Details

Built distribution (wheel)

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

Total release size: 3.9 MB

Release files / napari_phasors-0.8.1.tar.gz

Download URL napari_phasors-0.8.1.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
92e0973cb9fc05b97a9630b37100a168236c06ef8395fb1db8cd95928da69bef
BLAKE2b-256 checksum
How to use checksums
c9ce35ffea6c7e0530ea438c8bdef3ce0bd8d19a4ea27d53450ae4ca7690a63a
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 Sep 30, 2026.

Transparency log

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

Download URL napari_phasors-0.8.1-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
df61edb2211d73b375b34ff2018821ea2474cc36ad5587ecfdb51ce7f567028f
BLAKE2b-256 checksum
How to use checksums
da9b47becc081ce98a64d44a0c5eb9f515a1a589732ac18a04ef846f223e6378
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 Sep 30, 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