Images in the 2D spectrum viewer can be exported as specutils.Spectrum1D objects into the notebook (replace "2D data" with the label of the desired data):
specviz2d.get_data(data_label="2D data")
Similarly, the 1D spectrum data objects can be exported into the notebook:
specviz2d.get_data(data_label='1D data')
An instance of Specviz can also be accessed, which exposes some helper methods from Specviz:
specviz2d.specviz.get_spectra()
Specviz: Export Data <specviz-export-data>
Specviz documentation on exporting spectra.
All mouseover information in the markers plugin <markers-plugin>
can be exported to an astropy table <astropy:astropy-table>
by calling ~jdaviz.core.template_mixin.TableMixin.export_table
(see plugin-apis
).