File: available_plugins.rst

package info (click to toggle)
glueviz 0.14.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 29,280 kB
  • sloc: python: 41,995; makefile: 138; sh: 63
file content (234 lines) | stat: -rw-r--r-- 9,413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
.. _available_plugins:

List of available plugins
=========================

This page lists available plugin packages, as well as information on installing
these. If you are interested in writing your own plugin package, see
:ref:`writing_plugin`. We rely on domain experts to help us develop plugins, so
if your domain is not represented below, or if you want to help us extend the
existing plugins, we'd love to hear from you!

General plugins
---------------

glue-vispy-viewers: 3d viewers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The **glue-vispy-viewers** plugin package adds a 3D scatter plot viewer and a 3D
volume rendering viewer to glue. This plugin package is installed by default
with glue (provided that you installed the **glueviz** package with pip or
conda). You can read up more about the functionality available in this plugin
in :ref:`viewers-3d`. You can check that you have this plugin installed by going
to the **Canvas** menu in glue and selecting **New Data Viewer**, or
alternatively by dragging a dataset onto the canvas area. If the 3D viewers
plugin is installed, you should see the 3D viewers in the list:

.. image:: ../gui_guide/images/3d_viewers_select.png
   :align: center
   :width: 339

If you don't see these in the list, then, you can install the 3D viewers plugin
using::

    conda install -c glueviz glue-vispy-viewers

or if you don't use conda::

    pip install glue-vispy-viewers

If you run into issues or have requests related to this plugin, or if you would
like to contribute to the development, the GitHub repository for this plugin is
at https://github.com/glue-viz/glue-vispy-viewers.

glue-jupyter: Jupyter notebook/lab viewers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

We are currently developing data viewers for the Jupyter notebook and Jupyter
lab - this is not quite ready yet for general use, but if you are interested
in following on or helping with the development, the GitHub repository for this
plugin is at https://github.com/glue-viz/glue-jupyter.

Plugin for Medical imaging
--------------------------

The **glue-medical** is a plugin under development to provide functionality
related to medical imaging in glue. At the moment, the plugin only includes a
`DICOM <https://en.wikipedia.org/wiki/DICOM>`_ reader, but we want to expand
this to other formats and as well as other functionality (e.g. colormaps) that
would be useful in medical imaging. You can install the current version of this
plugin with::

    conda install -c glueviz glue-medical

or if you don't use conda::

    pip install glue-medical

Once the plugin is installed, you should be able to read in DICOM files as you
would normally read other files. You can also read in DICOM directories
containing individual slices into a single dataset by going to the **File**
menu, then **Import data**, and **Import DICOM directory as a single array**.

If you run into issues or have requests related to this plugin, or if you would
like to contribute to the development, the GitHub repository for this plugin is
at https://github.com/glue-viz/glue-medical.

Plugin for Geosciences
----------------------

The **glue-geospatial** is a plugin under development to provide functionality
related to geospatial data in glue. At the moment, the plugin includes a
reader based on the `rasterio <https://github.com/mapbox/rasterio>`_ package,
which allows e.g. GeoTIFF files to be loaded into glue. In addition, the glue
plugin tries to automatically set up the coordinate system for the datasets so
that you can link datasets based on longitude/latitude. You can install the
current version of this plugin with::

    conda install -c glueviz glue-geospatial

or if you don't use conda::

    pip install glue-geospatial

Once the plugin is installed, you should be able to read in e.g. GeoTIFF files
as you would normally read other files.

If you run into issues or have requests related to this plugin, or if you would
like to contribute to the development, the GitHub repository for this plugin is
at https://github.com/glue-viz/glue-geospatial.

Plugins for Astronomy
---------------------

For historical reasons, the core glue application already includes some
Astronomy-specific functionality, such as data readers for e.g. FITS and other
common astronomy formats, as well as linking functions that are aware of
Astronomy coordinate systems. In addition to this built-in functionality, there
are a number of plugins available and/or in development for Astronomy.

glue-wwt: WorldWide Telescope viewer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The **glue-wwt** adds a data viewer to glue that allows users to overplot data
onto maps of the sky, powered by `WorldWide Telescope
<http://worldwidetelescope.org/webclient/>`_. You can install this plugin with::

    conda install -c glueviz glue-wwt

or if you don't use conda::

    pip install glue-wwt

Once the plugin is installed, you should see a new viewer named
**WorldWideTelescope (WWT)** in the list of available viewers when dragging a
dataset onto the main canvas in the glue application. Once you have added a
dataset to the viewer, you can select in the viewer options the columns that
give the Right Ascension and Declination of the data points (we will add support
for other coordinate systems in future). At the moment, only tables can be
shown using markers in WWT (and not images) and we don't recommend adding large
sets of points at this time (due to limitations in the way WWT deals with
annotations).

If you run into issues or have requests related to this plugin, or if you would
like to contribute to the development, the GitHub repository for this plugin is
at https://github.com/glue-viz/glue-wwt.

glue-aladin: Aladin Lite viewer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A data viewer similar to glue-wwt but for `Aladin Lite
<https://aladin.u-strasbg.fr/AladinLite/>`_, is being developed and is not quite
ready yet for general use, but if you are interested in following on or helping
with the development, the GitHub repository is at
https://github.com/glue-viz/glue-aladin.

glue-samp: Communicating with SAMP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A few common applications in astronomy support communicating via the Simple
Application Messaging Protocol (SAMP) - these include for example `DS9
<http://ds9.si.edu/site/Home.html>`_, `TOPCAT
<http://www.star.bris.ac.uk/~mbt/topcat/>`_, and `Aladin
<https://aladin.u-strasbg.fr/>`_. The **glue-samp** plugin adds the ability to
use SAMP from glue.  You can install this plugin with::

    conda install -c glueviz glue-samp

or if you don't use conda::

    pip install glue-samp

Once the plugin is installed, you can go to the **Plugins** menu and select
**Open SAMP plugin**:

.. image:: images/samp_open.png
   :align: center
   :width: 250px

A window will then appear:

.. image:: images/samp_window.png
   :align: center
   :width: 500px

Click on **Start SAMP**, and the status should change to something like
**Connected to SAMP Hub**. If you open another SAMP-enabled application such as
TOPCAT, you should now be able to send data from/to glue. To send data from glue
to another application, you can right-click (control-click on Mac) on a dataset
or subset in the glue data collection, then go to **SAMP**, then e.g. **Send to
topcat**:

.. image:: images/samp_contextual.png
   :align: center
   :width: 600px

This can be done for tables or images, and both for the main datasets and
subsets. However, note that not all SAMP-enabled application are able to
understand all types of SAMP messages. For example, while you can send images to
DS9, you will not be able to send them to TOPCAT. Conversely, DS9 may not
understand the concept of a subset.

You can also send data from other applications to glue - for more information on
doing this, see the guide for the relevant application you want to use - glue
understands messages adding images and tables, as well as messages related to
subsets.

Specviz
^^^^^^^

The `specviz <https://github.com/spacetelescope/specviz>`_ package is a
standalone application for spectral visualization and analysis, but it
incorporates a plugin for glue that makes it possible to view spectral and/or
spectral cubes open in glue. Full installation instructions are available in
the `specviz documentation
<https://specviz.readthedocs.io/en/latest/installation.html>`__, but you can
also install specviz using::

    conda install -c glueviz specviz

or if you don't use conda::

    pip install specviz

Once specviz is installed, a new data viewer called **Specviz** will be
available, and should allow you to view spectral cubes and their subsets
as collapsed 1D spectra. More information about specviz can be found in the
`documentation <https://specviz.readthedocs.io/en/latest/index.html>`__, as well
as at the `GitHub repository <https://github.com/spacetelescope/specviz>`_.

CubeViz and MOSViz
^^^^^^^^^^^^^^^^^^

**CubeViz** and **MOSViz** are applications developed at the Space Science
Institute and built on top of glue for the visualization of IFU Spectral Cubes
and for Multi-Object Spectroscopy (MOS) respectively. To find out more about
using these, see https://cubeviz.readthedocs.io and
https://mosviz.readthedocs.io. As for other packages mentioned on this page,
you can easily install these using::

    conda install -c glueviz cubeviz mosviz

or if you don't use conda::

    pip install cubeviz mosviz