Releases: spacetelescope/jdaviz
v3.1.2
Bug Fixes
-
Redshift is no longer reset to zero when adding results from plugins to app. [#1915]
-
Avoid a non-finite error in model fitting by not passing spectrum uncertainties as
weights if the uncertainty values are all 0. [#1880]
Imviz
-
Viewer options in some plugins no longer displaying the wrong names. [#1920]
-
Fixes cropped image layer with WCS linking without fast-approximation, mouseover display
for GWCS now shows when information is outside original bounding box, if applicable. [#1908]
Mosviz
- Prevent color cycling when selecting different objects/rows [#1900]
v3.1.1
Bug Fixes
-
Change box zoom to always maintain aspect ratio. [#1726]
-
Fixed removing image data from viewer when changing row. [#1812]
-
Prevent duplicate labels by changing duplicate number appended
to label to max number (of duplicates) plus 1. [#1824] -
Layer lettering now supports up to 702 layers. Beyond that, special characters are used. [#1850]
-
Fix cycler so new data added have different colors [#1866]
Cubeviz
- Fix spatial-spectral highlighting after adding spectral data set (either manually or by loading
and results from plugins into the spectral-viewer) which had prevented new subsets from being
created. [#1856]
Mosviz
-
Data unassigned a row is hidden under the subdropdown in the data dropdown. [#1798, #1808]
-
Missing mosviz_row metadata in NIRISS-parsed 1D spectra now added. [#1836]
-
Allow Mosviz
load_data
method to load only 1D or 2D spectra. [#1833]
Specviz2d
- Fixed options for peak method in spectral extraction plugin. [#1844]
v3.1.0
New Features
-
Add support for nonstandard viewer reference names [#1681]
-
Centralize data label generation if user does not provide a label with data load. Also
prevent duplicate data labels from being added to data collection. [#1672]
Imviz
-
Catalogs plugin now supports loading a JWST catalog from a local ECSV file. [#1707]
-
New "batch_load" context manager to optimize loading multiple images. [#1742]
Specviz2d
-
Improved logic for initial guess for position of "Manual" background trace in spectral extraction
plugin. [#1738] -
Now supports loading a specific extension of the 2D spectrum file and
transposing data on load. [#1705] -
Spectral extraction plugin now supports visualizing and exporting the 1D spectrum associated
with the background region. [#1682]
Bug Fixes
-
Disable unit conversion if spectral axis is in pixels or if flux
is in counts, respectively. [#1734] -
Improved performance when toggling visibility of data layers in data menu. [#1742]
Cubeviz
- Fixed parsing of data cube without WCS. [#1734]
Imviz
- Fixed Simple Aperture Photometry plugin compatibility with astropy v5.1.1. [#1769]
Mosviz
- Fixed toolbar on 2d profile viewer. [#1778]
Specviz2d
-
Fixed parser not loading x1d when s2d is provided. [#1717]
-
Fixed toolbar on 2d spectrum viewer. [#1778]
Other Changes and Additions
v3.0.2
Bug Fixes
-
Fix subset selection tool conflicts caused by a duplicate toolbar. [#1679]
-
Fixed blank tabbed viewers. [#1718]
-
Prevent
app.add_data_to_viewer
from loading data from disk [#1725] -
Fix bug in creating and removing new image viewers from Imviz [#1741]
-
Updated Zenodo link in docs to resolve to latest version. [#1743]
Imviz
- Fixed Compass crashing while open when loading data. [#1731]
Specviz2d
-
Fixed padding on logger overlay. [#1722]
-
Changing the visibility of a data entry from the data menu no longer re-adds the data to the viewer
if it is already present, which avoids resetting defaults on the percentile and/or color or the
layer. [#1724] -
Fixed handling of "Manual" background type in spectral extraction plugin. [#1737]
v3.0.1
v3.0.0
New Features
-
Profile viewers now support plotting with profiles "as steps". [#1595, #1624]
-
Use spectrum's uncertainty as weight when doing model fitting. [#1630]
-
Line flux in the Line Analysis plugin are reported in W/m2 if Spectral Flux is given
in Jy [#1564] -
User-friendly API access to plugins, with exposed functionality for: line analysis, gaussian
smooth, moment maps, compass, collapse, metadata, slice, plot options, model fitting, links
control, export plot, and spectral extraction.
[#1401, #1642, #1643, #1636, #1641, #1634, #1635, #1637, #1658, #1640, #1657, #1639, #1699, #1701, #1702, #1708] -
Line Lists show which medium the catalog wavelengths were measured in,
in accordance to the metadata entry. Lists without medium information
are removed, until such information can be verified [#1626] -
Cycle through colors applied to data when multiple datasets are loaded to
the same viewer [#1674] -
Added ability to set height of application widget using
show
method. [#1646] -
Add Common Galactic line lists, split Atomic/Ionic list with verified medium info [#1656]
Cubeviz
-
Image viewers now have linked pan/zoom and linked box zoom. [#1596]
-
Added ability to select spatial subset collapsed spectrum for Line Analysis. [#1583]
-
Increased size of Cubeviz configuration from 600px to 750px. [#1638]
Imviz
-
Changing link options now updates immediately without needing to press "Link" button. [#1598]
-
New tool to create a single-pixel spatial region on the image. [#1647]
Specviz2d
-
Support for Horne/Optimal extraction. [#1572]
-
Support for importing/exporting Trace objects as data entries. [#1556]
-
2D spectrum viewer now has info panel for pixel coordinates and value. [#1608]
Bug Fixes
-
Fixed loading data via the Import Data button on top-left of the application.
[#1608] -
Floating menus are now attached to their selector element. [#1673, #1712]
-
Remove model fitting equation length restriction. [#1685]
-
Fixed crashing of model fitting when a parameter is fixed before fitting
is done. [#1689] -
Fixed IndexError when editing a subset while subset selection is set to "Create New". [#1700]
Cubeviz
-
Calling
cubeviz.load_data(data, data_label)
, wheredata_label
is passed in
as second positional argument instead of keyword, is now allowed. [#1644] -
A warning will be presented when overwriting a moment map to
an existing file on disk. [#1683, #1684]
Imviz
-
Fixed inaccurate aperture photometry results when aperture photometry is done on
a non-reference image if images are linked by WCS. [#1524] -
Calling
imviz.load_data(data, data_label)
, wheredata_label
is passed in
as second positional argument instead of keyword, is now allowed. Previously,
this will crash because second positional argument is actually a
parser_reference
that is meant for internal use. [#1644] -
Fixed crashing for when data is accidentally loaded multiple times or when
subset is deleted after a viewer is deleted. [#1649]
Mosviz
-
R-grism 2D spectrum data are now loaded with the correct orientation. [#1619]
-
Fixed a bug to skip targets not included in NIRISS source catalog, improving
lod times [#1696]
Specviz
- Line Lists plugin now disabled if no data is loaded instead of letting user
load a list list and crash. [#1691]
Specviz2d
-
Fixed default spectral extraction parameters when the background separation otherwise would have
fallen directly on the edge of the image. [#1633] -
Fixed parser for Level 2 NIRSpec
s2d
files. [#1608] -
Spectral-extraction plugin: support floats for all input trace positions, separations, and widths.
[#1652]
Other Changes and Additions
- Changed unit formatting to avoid astropy.units warnings in Line Analysis plugin. [#1648]
Cubeviz
- Changed the default layout to have only two image viewers, and enabled tabbing
and dragging the viewers. [#1646]
v2.10.0
v2.9.0
New Features
-
New popout locations display Jdaviz in a detached popup window (
popout:window
)
or browser tab (popout:tab
). [#1503] -
Subset Tools plugin now allows basic editing, including rotation for certain shapes.
[#1427, #1574, #1587] -
New
jdaviz.core.region_translators.regions2roi()
function to convert certain
regions
shapes intoglue
ROIs. [#1463] -
New plugin-level
open_in_tray
method to programmatically show the plugin. [#1559]
Cubeviz
-
Cubeviz now has ellipse spatial Subset selection tool. [#1571]
-
Cubeviz now has
load_regions_from_file()
andload_regions()
like Imviz. [#1571]
Imviz
-
New "Catalog Search" plugin that uses a specified catalog (currently SDSS) to search for sources in an image
and mark the sources found. [#1455] -
Auto-populate simple aperture photometry values if JWST data is loaded into viewer. [#1549]
-
Pressing Shift+b now blinks backwards. Right-clicking on the image while Blink tool
is active on the toolbar also blinks backwards. [#1558]
Mosviz
- NIRISS parser now sorts FITS files by header instead of file name. [#819]
Specviz2d
-
Spectral extraction plugin. [#1514, #1554, #1555, #1560, #1562]
-
CLI support for launching Specviz2d for a single 2D spectrum file input.
Use notebook version if you want to open separate 2D and 1D spectra in Specviz2d. [#1576] -
New
specviz2d.specviz
helper property to directly access Specviz functionality from Specviz2d. [#1577]
API Changes
Imviz
Imviz.load_static_regions_from_file()
andImviz.load_static_regions()
are
deprecated in favor ofImviz.load_regions_from_file()
andImviz.load_regions()
,
respectively. This is because some region shapes can be made interactive now even though
they are loaded from API. The new methods have slightly different API signatures, please
read the API documentation carefully before use. [#1463]
Bug Fixes
-
Fixes subset mode to reset to "Replace" when choosing to "Create New" subset. [#1532]
-
Fixes behavior of adding results from a plugin that overwrite an existing entry. The loaded
and visibility states are now always adopted from the existing entry that would be overwritten.
[#1538] -
Fix support for ipywidgets 8 (while maintaining support for ipywidgets 7). [#1592]
Cubeviz
-
Fixed validation message of moment number in moment map plugin. [#1536]
-
Fixed
viewer.jdaviz_helper
returning Specviz helper instead of Cubeviz helper after Specviz
helper is called viaCubeviz.specviz
. Nowviewer.jdaviz_helper
always returns the Cubeviz helper. [#1546] -
Increased spectral slider performance considerably. [#1550]
-
Fixed the spectral subset highlighting of spatial subsets in the profile viewer. [#1528]
Specviz
Other Changes and Additions
v2.8.0
New Features
- Added viewer/layer labels with icons that are synced app-wide. [#1465]
Cubeviz
- The "Import Data" button is hidden after a data cube is loaded into the app [#1495]
Mosviz
- Added
--instrument
CLI option to support NIRISS data loading in Mosviz. [#1488]
Bug Fixes
-
Fix scrolling of "x" button in data menus. [#1491]
-
Fix plot options colormap when setting colormap manually through API. [#1507]
Cubeviz
-
Cubeviz parser now sets the wavelength axis to what is in the CUNIT3 header [#1480]
-
Includes spectral subset layers in the layer dropdowns in plot options and fixes behavior when
toggling visibility of these layers. [#1501]
Imviz
- Fixed coordinates info panel crashing when HDU extension with
non-celestial WCS is loaded into Imviz together with another
extension with celestial WCS. [#1499]
Other Changes and Additions
- Added a more informative error message when trying to load Jdaviz outside of Jupyter. [#1481]