PyPhenix

A data loader and widget to visualize high-dimensional data collected on the Opera Phenix

  • Max Ferrin

License GNU GPL v3.0 PyPI Python Version tests codecov napari hub npe2 Copier

A data loader and widget to visualize high-dimensional data collected on the Opera Phenix


This napari plugin was generated with copier using the napari-plugin-template (None).

Installation

Reader only (no GUI, no napari required)

If you only need the OperaPhenixReader — for example on a server or in a headless analysis pipeline — install the base package:

pip install pyphenix

This installs only numpy and Pillow. napari, Qt, and pandas are not required and will not be installed.

from pyphenix import OperaPhenixReader

reader = OperaPhenixReader("/path/to/experiment")
data, metadata = reader.read_data(row="D", column=4)

Full GUI install (napari widget)

To use the interactive napari widget, install with the napari extra:

pip install "pyphenix[napari]"

This additionally installs napari, qtpy, and pandas.

from pyphenix import launch_viewer

viewer, widget = launch_viewer("/path/to/experiment")

Alternatively, if napari is already installed in your environment, the base install is sufficient — pyphenix will detect napari at import time and make the widget available automatically:

pip install pyphenix

Latest development version

pip install git+https://github.com/ferrinm/pyphenix.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 GNU GPL v3.0 license, "pyphenix" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Version:

  • 0.3.1

Last updated:

  • 2026-03-11

First released:

  • 2026-01-02

License:

  • GNU GENERAL PUBLIC LICENSE ...

Supported data:

  • Information not submitted

Plugin type:

Open extension:

Save extension:

Python versions supported:

Operating system:

  • Information not submitted

Requirements:

  • numpy
  • Pillow
  • napari[all]>=0.4.19; extra == "napari"
  • qtpy; extra == "napari"
  • pandas; extra == "napari"
  • pyphenix[napari]; extra == "all"
Website by the napari team, original design by CZI. Go to napari main website.