Vispy-based viewers for Glue
Project description
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 https://github.com/glue-viz/glue-3d-viewer/archive/master.zip
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for glue_vispy_viewers-0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aaf45d09084bea7405238be745d2a46b61c03c5551ab4760b9562468cc51b6d |
|
MD5 | 8e3c63a92c62894a46fe63293a05dc6f |
|
BLAKE2b-256 | 3b563d06e34585732be0a18ca4d24d7aad26b6cbf9cfa52a4ed5b75b7450ae6d |