Skip to main content

Vispy-based viewers for Glue

Project description

Glue's GitHub Actions CI Status Coverage Status

Requirements

Note that this plugin requires Glue and PyOpenGL to be installed - see this page for instructions on installing Glue. PyOpenGL should get installed automatically when you install the plugin (see below).

While this plugin uses VisPy, for now we bundle our own version of VisPy since we rely on some recently added features, so you do not need to install VisPy separately.

Installing

If you use the Anaconda Python Distribution, you can install this plugin with:

conda install -c glueviz glue-vispy-viewers

To install the latest stable version of the plugin, you can do:

pip install glue-vispy-viewers

or you can install the latest developer version from the git repository using:

pip install git+https://github.com/glue-viz/glue-vispy-viewers.git

This will auto-register the plugin with Glue. Now simply start up Glue, open a data cube, drag it onto the main canvas, then select ‘3D viewer’.

Testing

To run the tests, do:

py.test glue_vispy_viewers

at the root of the repository. This requires the pytest module to be installed.

Using the isosurface viewer

The isosurface viewer is currently still unstable - to enable it, put the following in a file called config.py file in your current working directory:

from glue_vispy_viewers.isosurface import setup as setup_isosurface
setup_isosurface()

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

glue-vispy-viewers-1.0.6.tar.gz (112.1 kB view details)

Uploaded Source

Built Distribution

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

glue_vispy_viewers-1.0.6-py3-none-any.whl (125.6 kB view details)

Uploaded Python 3

File details

Details for the file glue-vispy-viewers-1.0.6.tar.gz.

File metadata

  • Download URL: glue-vispy-viewers-1.0.6.tar.gz
  • Upload date:
  • Size: 112.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for glue-vispy-viewers-1.0.6.tar.gz
Algorithm Hash digest
SHA256 47bceec6b8d3f1ef69c5ec90ae57cc393afac5b34ba3c408fa7bb6e01a489dab
MD5 7d2de68f1b5448b14c3f736633bd9dda
BLAKE2b-256 7bb8cc29ad72073e581a2f6611796bf03c87fa1ab10b7a051fa6ab5c4bffc818

See more details on using hashes here.

File details

Details for the file glue_vispy_viewers-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for glue_vispy_viewers-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5b131e4902454274020e212b4a0b01472e8be045464bc6d924ce7bebad05db6b
MD5 fef3dd9b2fe1215ca7e06a21f5afde52
BLAKE2b-256 56a26fdd585abe330d44ef0cb5e5a85f927038bbb62fca723d2270095d45a300

See more details on using hashes here.

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