Skip to main content

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

Project description

pyphenix

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

Using napari's graphical plugin manager

Users can entirely avoid using a command prompt by using the package manager built in to the bundled napari app.

Follow the installation instructions to download and install the correct version of the bundled napari app for your operating systems (MacOS, Windows, or Linux).

Then following the instructions for installing plugins, search for PyPhenix in the Plugin Manager search bar and click "Install".

Using Python package installer (pip)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyphenix-0.3.2.tar.gz (599.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyphenix-0.3.2-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

Details for the file pyphenix-0.3.2.tar.gz.

File metadata

  • Download URL: pyphenix-0.3.2.tar.gz
  • Upload date:
  • Size: 599.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyphenix-0.3.2.tar.gz
Algorithm Hash digest
SHA256 2d0e82a1e701fce0201b2167c3fcf7106df560f81d24059f923dd66de6e19e7f
MD5 c8ad07fb86231e76f595c2df5d683f35
BLAKE2b-256 0ac6f14325a0aa575cff7a626b436439d31f77fa3832a60e3ff7fa57075a3a45

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyphenix-0.3.2.tar.gz:

Publisher: test_and_deploy.yml on ferrinm/PyPhenix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyphenix-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pyphenix-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 72.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyphenix-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 057bd488adb24cc7a67b81989b48f020435be3d308a0571699c24f776a9f6fe8
MD5 f0d203dbf8de5d138e6386ea0527f6ef
BLAKE2b-256 dd5c1b08adb9157a0e466e7280bdb0aa8f1a9b6c7bd7ac370a505f010ce1170a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyphenix-0.3.2-py3-none-any.whl:

Publisher: test_and_deploy.yml on ferrinm/PyPhenix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page