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

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.0.tar.gz (598.6 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.0-py3-none-any.whl (71.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyphenix-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bcba5f46092084a30be69c145ff2856b8d7c674721a3438b6f0f714454e5379d
MD5 d27c24d2db1c45b5d1c514f07295472c
BLAKE2b-256 09716a396c4f8db55ab27e34387c04672081c469d7dc05051a7677d6db64b77f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyphenix-0.3.0.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.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pyphenix-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 220c315ebbc7f43986dc636b9fb8129a7f6dbc26cadeb91ab2e6c2ce6635d7d5
MD5 1e33e3ce534ef20993d7b4c2b316570e
BLAKE2b-256 4491658814d124de9a2fc1ccda0a3f4d27ed25023987bdc09c0ec9ff57162c7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyphenix-0.3.0-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