Skip to content

Commit

Permalink
Glue -> glue (spacetelescope#2773)
Browse files Browse the repository at this point in the history
Co-authored-by: Camilla Pacifici <[email protected]>
  • Loading branch information
camipacifici and Camilla Pacifici authored Mar 28, 2024
1 parent 90b09b0 commit 7ac4791
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/cubeviz/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Cubeviz is a visualization and analysis toolbox for data cubes from
integral field units (IFUs). It is built as part of the
`Glue visualization <https://glueviz.org>`_ tool. Cubeviz is designed to work
`glue visualization <https://glueviz.org>`_ tool. Cubeviz is designed to work
with data cubes from the NIRSpec and MIRI instruments on JWST, and will work
with IFU data cubes. It uses
the `specutils <https://specutils.readthedocs.io/en/latest/>`_ package
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/infrastructure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ for Jdaviz-specific elements.

.. note::

GlueViz in the diagram above encapsulates all the libraries tied to the Glue
GlueViz in the diagram above encapsulates all the libraries tied to the glue
visualization ecosystem. They include but not limited to glue-core, glue-jupyter,
glue-astronomy, and bqplot-image-gl. Due to the complexity of Jdaviz's
dependency tree, we will not mention all of them in this section.
Expand Down
4 changes: 2 additions & 2 deletions docs/dev/specviz_selection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Data loaded in are imported into Jdaviz and immediately converted into a
are returned by the ``specviz.get_spectra()`` method.

The selection tool allows the user to specify a specific range on the graph.
This is defined by the underlying Glue library upon which Jdaviz relies on as a
"Glue Subset." Thus throughout the software documentation, we will refer to these
This is defined by the underlying glue library upon which Jdaviz relies on as a
"glue subset." Thus throughout the software documentation, we will refer to these
user defined ranges as "subsets." Effectively, the selection tool defines a mask that
can be thought of as "definition" of which data is and is not included in the subset.
Upon extraction via ``specviz.get_spectral_regions()``, the method will return a new
Expand Down
6 changes: 3 additions & 3 deletions docs/imviz/displayimages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ You can :ref:`import <imviz-import-regions-api>` and :ref:`export <imviz_export_

.. seealso::

`Defining subsets using Glue <http://docs.glueviz.org/en/stable/getting_started/#defining-subsets>`_
`Defining subsets using glue <http://docs.glueviz.org/en/stable/getting_started/#defining-subsets>`_
Glueviz documentation on defining and refining subsets. Slightly different UI but same approach.

There are options available in the :guilabel:`Layer` tab under the |icon-settings-sliders| icon
Expand Down Expand Up @@ -322,8 +322,8 @@ Adding Custom Colormap
^^^^^^^^^^^^^^^^^^^^^^

A custom colormap can only be added when Imviz is run in a notebook, not from the
command line. The custom colormap must be added to Glue *before* starting Imviz.
The example below adds a random colormap generated by ``photutils`` into Glue:
command line. The custom colormap must be added to glue *before* starting Imviz.
The example below adds a random colormap generated by ``photutils`` into glue:

.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion docs/specviz/displaying.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Clicking on that selector, you can add more regions by selecting the "create new

From the API
------------
You can define a spectral region programmatically, by using the Glue XRangeROI method
You can define a spectral region programmatically, by using the glue XRangeROI method
and specifying the bounds of the spectral region (xmin, xmax).

.. code-block:: python
Expand Down

0 comments on commit 7ac4791

Please sign in to comment.