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.3.tar.gz (601.2 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.3-py3-none-any.whl (72.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyphenix-0.3.3.tar.gz
  • Upload date:
  • Size: 601.2 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.3.tar.gz
Algorithm Hash digest
SHA256 99097df848c47ee4a0ef859517e3c92c9ef4bd08e43afae568c40c4718800865
MD5 11ffa10679877f0093140927d6ca53ad
BLAKE2b-256 188e7d1d47035f6588d01bda5bed09427f5e46e70f0e8ee4a2068863960a576d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyphenix-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 72.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1d051bda90e31a3d0514629d6d3d9e9b9e509c3575d5d2ec2aba52eccba75852
MD5 541cdb5a4b1556728beeef51edea048d
BLAKE2b-256 b697ac7bcc375ea0c7bbcef47ab27f6c61d012349da7649ef78dcdc319c66d10

See more details on using hashes here.

Provenance

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