@@ -48,17 +48,17 @@ Markers
4848
4949.. _specviz2d-spectral-extraction :
5050
51- Spectral Extraction
52- ===================
51+ 2D Spectral Extraction
52+ ======================
5353
54- The Spectral Extraction plugin exposes `specreduce <https://specreduce.readthedocs.io >`_
54+ The 2D Spectral Extraction plugin exposes `specreduce <https://specreduce.readthedocs.io >`_
5555methods for tracing, background subtraction, and spectral extraction from 2D spectra.
5656
5757To interact with the plugin via the API in a notebook, access the plugin object via:
5858
5959.. code-block :: python
6060
61- sp_ext = specviz2d.plugins[' Spectral Extraction' ]
61+ sp_ext = specviz2d.plugins[' 2D Spectral Extraction' ]
6262
6363
6464 Trace
@@ -100,7 +100,7 @@ Trace parameters can be set from the notebook by accessing the plugin.
100100 sp_ext.trace_peak_method = ' Gaussian'
101101
102102 To export and access the :py:class: `specreduce.tracing.Trace ` object defined in the plugin,
103- call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .export_trace `:
103+ call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .export_trace `:
104104
105105.. code-block :: python
106106
@@ -115,7 +115,7 @@ via ``load``:
115115 specviz2d.load(my_trace, data_label = " my trace" )
116116
117117 or directly into the plugin
118- via :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .import_trace `
118+ via :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .import_trace `
119119
120120.. code-block :: python
121121
@@ -154,21 +154,21 @@ Background parameters can be set from the notebook by accessing the plugin.
154154 sp_ext.bg_width = 6
155155
156156 To export and access the :py:class: `specreduce.background.Background ` object defined in the plugin,
157- call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .export_bg `:
157+ call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .export_bg `:
158158
159159.. code-block :: python
160160
161161 bg = sp_ext.export_bg()
162162
163163 To access the background image, background spectrum, or background-subtracted image as a
164164:class: `~specutils.Spectrum ` object,
165- call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .export_bg_img `,
166- :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .export_bg_spectrum `,
167- or :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .export_bg_sub `, respectively.
165+ call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .export_bg_img `,
166+ :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .export_bg_spectrum `,
167+ or :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .export_bg_sub `, respectively.
168168
169169To import the parameters from a :py:class: `specreduce.background.Background ` object into the plugin,
170170whether it's new or was exported and modified in the notebook,
171- call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .import_bg `:
171+ call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .import_bg `:
172172
173173.. code-block :: python
174174
@@ -205,21 +205,21 @@ Extraction parameters can be set from the notebook by accessing the plugin.
205205 sp_ext.ext_width = 8
206206
207207 To export and access
208- the :py:class: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction ` object defined
208+ the :py:class: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D ` object defined
209209in the plugin,
210- call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .export_extract `:
210+ call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .export_extract `:
211211
212212.. code-block :: python
213213
214214 ext = sp_ext.export_extract()
215215
216216 To access the extracted spectrum as a :class: `~specutils.Spectrum ` object,
217- call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .export_extract_spectrum `.
217+ call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .export_extract_spectrum `.
218218
219219To import the parameters from
220- a :py:class: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction ` object
220+ a :py:class: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D ` object
221221(either a new object, or an exported one modified in the notebook) into the plugin,
222- call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction .import_extract `:
222+ call :py:meth: `~jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction.SpectralExtraction2D .import_extract `:
223223
224224.. code-block :: python
225225
0 commit comments