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

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.7.3
File Size Uploaded
napari_phasors-0.7.3.tar.gz 2.2 MB Details

Built distribution (wheel)

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

Total release size: 3.0 MB

Release files / napari_phasors-0.7.3.tar.gz

Download URL napari_phasors-0.7.3.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
24c739fc95b9c6eb536adb761da82b9ff8e22a4fec4d7775858487d5572dff59
BLAKE2b-256 checksum
How to use checksums
1cc1b1e5c0854fa38345b7c3f4bffb98f52361f07389f48415a4fb689119b27f
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 7, 2026.

Transparency log

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

Download URL napari_phasors-0.7.3-py3-none-any.whl
Size 823.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13440bd1b0c8cd5349572c64599833278de9eb334658fe446f1a5a800b5b0b76
BLAKE2b-256 checksum
How to use checksums
692df7b1c4ee743c26484e852ea73e5d4da3ac806a837f2efe74619a7f626a0c
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 7, 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