v3.6.0
New Features
-
Introduce jdaviz.open to automatically detect the appropriate config and load data [#2221]
-
Add Simplify button to subset plugin to make composite spectral subsets more user
friendly. [#2237] -
Plots within plugins can now be popped-out into their own windows. [#2254]
-
The
specviz.load_spectrum
method is deprecated; usespecviz.load_data
instead. [#2273] -
Add launcher to select and identify compatible configurations,
and require --layout argument when launching standalone. [#2257, #2267] -
Viewer toolbar items hide themselves when they are not applicable. [#2284]
-
Data menu single select will default to the first element. [#2298]
-
Line Analysis "Redshift from Centroid" only visible when lines are loaded. [#2294]
-
Add lines representing the stretch vmin and vmax to the plot options histogram. [#2301]
-
Add option to set bin size in plot options plugin and API call to change histogram
viewer limits. [#2309]
Cubeviz
- Added the ability to export cube slices to video. User will need to install
opencv-python
separately or use[all]
specifier when installing Jdaviz. [#2264]
Imviz
-
Added the ability to load DS9 region files (
.reg
) using theIMPORT DATA
button. However, this only works after loading at least one image into Imviz. [#2201] -
Added support for new
CircularAnnulusROI
subset from glue, including
a new draw tool. [#2201, #2240]
Mosviz
- Improved x-axis limit-matching between 2d and 1d spectrum viewers. [#2219]
Specviz2d
- Re-enable support for displaying the 1d spectrum in wavelength/frequency space, with improved
x-axis limit-matching. [#2219]
API Changes
-
viz.app.get_data_from_viewer()
is deprecated; useviz.get_data()
. [#2242] -
viz.app.get_subsets_from_viewer()
is deprecated; useviz.app.get_subsets()
. [#2242] -
viz.get_data()
now takes optional**kwargs
; e.g., you could pass in
function="sum"
to collapse a cube in Cubeviz. [#2242] -
Live-previews and keypress events that depend on the plugin being opened now work for inline
and popout windows. [#2295]
Imviz
- Simple Aperture Photometry plugin: Custom annulus background options are removed.
Please draw/load annulus as you would with other region shapes, then select it
in the plugin from Subset dropdown for the background. Using annulus region as
aperture is not supported. [#2276, #2287]
Mosviz
- Added new
statistic
keyword tomosviz.get_viewer("spectrum-2d-viewer").data()
to allow user to collapse 2D spectrum to 1D. [#2242]
Specviz
- Re-enabled unit conversion support. [#2127]
Bug Fixes
-
Fixed wrong elliptical region translation in
app.get_subsets()
. [#2244] -
Fixed
cls
input being ignored inviz.get_data()
. [#2242] -
Line analysis plugin's
show_continuum_marks
is deprecated, useplugin.as_active()
instead. [#2295]
Cubeviz
-
Moment Map plugin now writes FITS file to working directory if no path provided
in standalone mode. [#2264] -
Fixes detection of spatial vs spectral subsets for composite subsets.
Also fixes the shadow mark that shows the intersection between spatial and spectral
subsets. [#2207, #2266, #2291] -
Prevent Plot Options plugin from hanging when selecting a spectrum viewer in Cubeviz. [#2305]
Specviz
- Uncertainties in spectra given to Specviz will now work correctly when non-standard deviation type [#2283]
Specviz2d
Other Changes and Additions
-
Gaussian smooth plugin excludes results from the gaussian smooth plugin from the input
dataset dropdown. [#2239] -
CLI launchers no longer require data to be specified [#1960]
-
Added direct launchers for each config (e.g.
specviz
) [#1960] -
Replacing existing data from a plugin (e.g., refitting a model with the same label)
now preserves the plot options of the data as previously displayed. [#2288]