Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.03 KB

redshift.rst

File metadata and controls

25 lines (18 loc) · 1.03 KB

Setting Redshift/RV

The :ref:`Line Lists Plugin <mosviz-line-lists>` contains a redshift slider as well as the ability to view and set the redshift and/or radial velocity.

Additionally, the :ref:`Line Analysis Plugin <line-analysis>` includes the capability to compute and assign the redshift based on the measured centroid of a line.

From the notebook

In the notebook, the value of the Redshift column can be changed for all rows or a single row using :py:meth:`~jdaviz.configs.mosviz.helper.Mosviz.update_column`.

The 1D and 2D spectrum objects can be retrieved (with redshift optionally applied) using :py:meth:`~jdaviz.configs.mosviz.helper.Mosviz.get_spectrum_1d` and :py:meth:`~jdaviz.configs.mosviz.helper.Mosviz.get_spectrum_2d`, respectively.

See the notebooks/MosvizNIRISSExample.ipynb notebook in the repository to see examples of manipulating MOS Table data, including the redshift.