================
New Features
------------
- Added ability to load remote data from a URI or URL. [2875, 2923]
- Added flux/surface brightness translation and surface brightness
unit conversion in Cubeviz and Specviz. [2781, 2940, 3088, 3111, 3113, 3129,
3139, 3149, 3155, 3178, 3185, 3187, 3190, 3156, 3200, 3192, 3206, 3211, 3216, 3219]
- Plugin tray is now open by default. [2892]
- New "About" plugin to show Jdaviz version info. [2886]
- Descriptions are shown in the color mode dropdown for image layers to help describe the use-cases
for ``Colormap`` vs ``Color``. [2894]
- The colormap menu for image layers now shows in-line previews of the colormaps. [2900]
- Plugins can now expose in-UI API hints. [3137, 3159]
- The standalone version of jdaviz now uses solara instead of voila, resulting in faster load times. [2909]
- New configuration for ramp/Level 1 and rate image/Level 2 data products from Roman WFI and
JWST [3120, 3148, 3167, 3171, 3194]
- Unit columns are now visible by default in the results table in model fitting. [3196]
Cubeviz
^^^^^^^
- Automatic spectral extraction now goes through the logic of the spectral extraction plugin for
self-consistency. This results in several breaking changes to data-labels and ``get_data``
(the extracted spectra are now given dedicated data-labels instead of referring to them by
the label of the flux cube) as well as to several plugins: model fitting, gaussian smooth,
line analysis, and moment maps. [2827]
- Background subtraction support within Spectral Extraction. [2859]
- Aperture photometry plugin now listens to changes in display unit. [3118]
Imviz
^^^^^
- Added a table with catalog search results. [2915, 3101, 3099]
- "Imviz Line Profiles (XY)" plugin is renamed to "Image Profiles (XY)". [3121]
- Added Gaia catalog to Catalog plugin. [3090]
- Updated ``link_type`` to ``align_by`` and ``wcs_use_affine`` to ``wcs_fast_approximation`` in
Orientation plugin API to better match UI text. [3128]
Specviz
^^^^^^^
- Fixed ``viz.app.get_subsets()`` for XOR mode. [3124]
Specviz2d
^^^^^^^^^
- Add option to use self-derived spatial profile for Horne extract in spectral extraction plugin. [2845]
API Changes
-----------
- The ``Monochromatic`` option for ``color_mode`` in plot options is now renamed to ``Color``.
``Monochromatic`` will continue to work with a deprecation warning, but may be removed in a
future release. [2894]
- Plugin Table components now support row selection. [2856]
Cubeviz
^^^^^^^
- ``get_data`` no longer supports ``function`` or ``spatial_subset`` as arguments. To access
an extracted 1D spectrum, use the Spectral Extraction plugin or the automatic extraction of
spatial subsets, and refer to the data-label assigned to the resulting 1D spectrum. [2827]
- Several plugins that take 1D spectra replace ``spatial_subset`` with referring to the 1D
spectrum in ``dataset``. This affects: model fitting, gaussian smooth, line analysis,
and moment maps. [2827]
- Removed deprecated ``cubeviz.select_slice()`` method. Use ``cubeviz.select_wavelength()``
instead. [2878]
- In the Slice plugin, the following deprecated properties were removed: ``wavelength`` (use ``value``),
``wavelength_unit`` (use ``value_unit``), ``show_wavelength`` (use ``show_value``),
``slice`` (use ``value``). [2878]
- Spectral Extraction: renamed ``collapse_to_spectrum(...)`` to ``extract(...)``. [2859]
- Generic FITS parsing now goes through ``specutils`` loaders first, if possible.
If a ``specutils`` loader is used, uncertainty is converted to standard deviation type. [3119]
- Custom Spectrum1D writer format ``jdaviz-cube`` is removed. Use ``wcs1d-fits`` from
``specutils`` instead. [2094]
- Aperture Photometry plugin now uses TRFLSQFitter to fit radial profile because LevMarLSQFitter
is no longer recommended by Astropy. [3202]
Imviz
^^^^^
- Deprecated Rotate Canvas plugin was removed; use Orientation plugin instead. [2878]
- Aperture Photometry plugin now uses TRFLSQFitter to fit radial profile because LevMarLSQFitter
is no longer recommended by Astropy. [3202]
Specviz
^^^^^^^
- In the Line Analysis plugin, deprecated ``width`` was removed (use ``continuum_width``). [2878]
Bug Fixes
---------
- Markers table can now export to CSV but its columns had to be changed to accomodate this fix:
world and pixel (previously containing SkyCoord and pixel location tuples, respectively) are now
each two separate columns for world_ra/world_dec and pixel_x/pixel_y, respectively. [3089]
- Stretch histogram in zoom limits no longer attempts unnecessary updates when zoom limits are changed. [3151]
- Aperture Photometry plugin no longer allows negative counts conversion factor. [3154]
- Fixed multiple select handling for batch mode aperture photometry in Cubeviz. [3163]
Cubeviz
^^^^^^^
- Moment map plugin now reflects selected flux / surface brightness unit for moment zero. [2877]
- Update the scale factor used to convert a spectrum between surface brightness and flux
to use wavelength-dependent aperture area instead of the cone slice scale factor. [2860]
- Handle display units when doing flux / surface brightness conversions. [2910]
- Flux units are now correct for collapsed spectra when using the sum function
when units are in per steradian. [2873]
- Mouse over coordinates now responds to the selected surface brightness unit. [2931]
- Fixed MaNGA cube loading. Uncertainty type is also handled properly now. [3119]
- Fixed spectral axis value display in Markers plugin. Previously, it failed to display
very small values, resulting in zeroes. [3119]
- No longer incorrectly swap RA and Dec axes when loading Spectrum1D objects. [3133]
- Fixed fitting a model to the entire cube when NaNs are present. [3191]
Specviz2d
^^^^^^^^^
- Fixed Subset unit when it is created in 2D spectrum viewer. [3201]
- Fix matched mouseover marker for 1d spectrum viewer when mouse is over 2d spectrum viewer. [3203]
Other Changes and Additions
---------------------------
- Bump required specutils version to 1.16. Moment 0 calculation is now in units
of flux*dx (rather than flux) [3184]