Skip to content

Releases: spacetelescope/jdaviz

v2.10.0

26 Aug 20:51
06ed4b4
Compare
Choose a tag to compare

2.10 (2022-08-26)

New Features

  • Layer icons now show indication of linewidth. [#1593]

  • Model Fitting plugin now displays parameter uncertainties after fitting. [#1597]

Bug Fixes

Cubeviz

  • Future proof slicing logic for as_steps implementation in glue-jupyter 0.13 or later. [#1599]

v2.9.0

24 Aug 15:20
Compare
Choose a tag to compare

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 into glue 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() and load_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() and Imviz.load_static_regions() are
    deprecated in favor of Imviz.load_regions_from_file() and Imviz.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 via Cubeviz.specviz. Now viewer.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

  • Fixed a bug where spectra with different spectral axes were not properly linked. [#1526, #1531]

Other Changes and Additions

  • Added a UV Galactic linelist. [#1522]

  • astroquery is now a required dependency of Jdaviz. [#1455]

v2.8.0

21 Jul 18:38
0b8ada9
Compare
Choose a tag to compare

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]

v2.7.1

13 Jul 00:36
Compare
Choose a tag to compare

Bug Fixes

  • Fix updating coordinate display when blinking via click. [#1470]

Cubeviz

  • Replaced deprecated FILETYPE header keyword with EXP_TYPE to identify JWST cubes
    for proper MJD-OBS handling. [#1471]

  • Fixed a bug where having Subset breaks coordinates information display
    in image viewers. [#1472]

v2.7.0.post1

07 Jul 16:36
Compare
Choose a tag to compare

A post-release for version 2.7.0 to fix a PyPi packaging problem. Removes the docs from the packaged tarball, and adds downloadable PDF/zipped HTML to the readthedocs page instead.

v2.7.0

06 Jul 20:11
3b3219b
Compare
Choose a tag to compare

New Features

  • The app and individual plugins can be opened in a new window by clicking a button in the top
    right-hand corner. [#977, #1423]

  • Snackbar queue priority and history access. [#1352, #1437]

  • Subset Tools plugin now shows information for composite subsets. [#1378]

  • Plot options are simplified and include an advanced mode to act on multiple viewers/layers
    simultaneously. [#1343]

  • Labels in data menus are truncated to fit in a single line but ensure visibility of extensions.
    [#1390]

  • Data menus now control visibility of layers corresponding to the data entries instead of
    loading/unloading the entries from the viewers. Data entries that are unloaded now appear
    in an expanded section of the menu and can be re-loaded into the viewer. [#1400]

  • Several reversed version of colormaps now available for image viewers. [#1407]

  • Simple zoom "back" button in all viewers. [#1436]

Cubeviz

  • New tool for visualizing spectrum at a pixel's coordinate location
    in the image viewer [#1317, #1377]

Imviz

  • Added the ability to fit Gaussian1D model to radial profile in
    Simple Aperture Photometry plugin. Radial profile and curve of growth now center
    on source centroid, not Subset center. [#1409]

API Changes

  • Default percentile for all image viewers is now 95%, not min/max. [#1386]

  • Default verbosity for popup messages is now "warnings" but
    the history logger is still at "info" so you can see all messages
    there instead. [#1368]

  • In the Color Mode options under Plot Options, "Colormaps" and "One color per layer"
    have been renamed to "Colormap" and "Monochromatic," respectively, for all image
    viewers. [#1406]

  • Viz tool display changed to viz.show() from viz.app. Sidecar no longer returned by
    show methods. [#965]

Imviz

  • In the toolbar, linked box-zoom and linked pan/zoom are now the defaults.
    Right-click on the respective button to access single-viewer box-zoom or
    single-viewer pan/zoom. [#1421]

  • viewer.set_colormap() method now takes Glue colormap name, not
    matplotlib name. This is more consistent with colormap options under
    Plot Options. [#1440]

Bug Fixes

  • Fixed HeI-HeII line list loading. [#1431]

Cubeviz

  • Fixed the default thickness of a subset layer in the spectral viewer to remain 1 for
    spatial subsets and 3 for spectral subsets. [#1380]

  • Fixed linking of plugin data to the reference data that was used to create it [#1412]

  • Fixed coordinates display not showing the top layer information when multiple
    layers are loaded into the image viewer. [#1445]

Imviz

  • Fixed a bug where image loaded via the "IMPORT DATA" button is not
    linked to the data collection, resulting in Imviz unusable until
    the data are re-linked manually. [#1365]

  • Fixed a bug where coordinates display erroneously showing info from
    the reference image even when it is not visible. [#1392]

  • Fixed a bug where Compass zoom box is wrong when the second image
    is rotated w.r.t. the reference image and they are linked by WCS. [#1392]

  • Fixed a bug where Line Profile might crash when the second image
    is rotated w.r.t. the reference image and they are linked by WCS. [#1392]

  • Contrast/bias mouse-drag is now more responsive and
    calculates contrast in the same way as Glue in Qt mode. [#1403]

  • Fixed a bug where some custom colormap added to Imviz is inaccessible
    via viewer.set_colormap() API. [#1440]

  • Fixed a bug where Simple Aperture Photometry plugin does not know
    an existing Subset has been modified until it is reselected from
    the dropdown menu. [#1447]

  • Disables the "popout in new window" buttons on the image viewer tabs
    in favor of other ways of popping out Jdaviz from notebook. [#1461]

Mosviz

  • Data dropdown in the gaussian smooth plugin is limited to data entries from the
    spectrum-viewer (excluding images and 2d spectra). [#1452]

v2.6.0

25 May 17:27
Compare
Choose a tag to compare

New Features

  • Line list plugin now supports exact-text filtering on line names. [#1298]

  • Added a Subset Tools plugin for viewing information about defined subsets. [#1292]

  • Data menus in the viewers are filtered to applicable entries only and support removing generated data from
    the app. [#1313]

  • Added offscreen indication for spectral lines and slice indicator. [#1312]

Cubeviz

  • Cubeviz image viewer now has coordinates info panel like Imviz. [#1315]

  • New Metadata Viewer plugin. [#1325]

Imviz

  • New way to estimate background from annulus around aperture
    in Simple Aperture Photometry plugin. [#1224]

  • New curve of growth plot available in Simple Aperture
    Photometry plugin. [#1287]

  • Clicking on image in pan/zoom mode now centers the image to location
    under cursor. [#1319]

Specviz

  • Line List Spectral Range filter displays only lines with an observed
    wavelength within the range of the spectrum viewer [#1327]

Bug Fixes

  • Line Lists plugin no longer crashes when a list is removed under
    certain conditions. [#1318]

Cubeviz

  • Parser now respects user-provided data_label when Spectrum1D
    object is loaded. Previously, it only had effect on FITS data. [#1315]

  • Fixed a bug where fitting a model to the entire cube returns all
    zeroes on failure. [#1333]

Imviz

  • Line profile plot in Line Profile plugin no longer affects
    radial profile plot in Simple Aperture Photometry plugin. [#1224]

  • Line profile plot no longer report wrong coordinates on
    dithered data that is not the reference data. [#1293]

  • Radial profile plot in Simple Aperture Photometry plugin
    no longer shows masked aperture data. [#1224]

  • Aperture sum in Simple Aperture Photometry plugin no longer reports
    the wrong value in MJy when input data is in MJy/sr. Previously,
    it applied number of pixels twice in the calculations, so sum in MJy
    with 10-pixel aperture would be off by a factor of 10. This bug did not
    affect data in any other units. [#1332]

  • Markers API now handles GWCS with ICRS Lon/Lat defined instead of
    Right Ascension and Declination. [#1314]

Specviz

  • Fixed clearing an identified spectral line when its removed. [#1322]

Specviz2d

  • Fixed a regression that caused NIRSpec s2d to stop loading
    properly. [#1307]

v2.5.0

28 Apr 15:53
bab194b
Compare
Choose a tag to compare

New Features

  • Search bar to filter plugins in sidebar. [#1253]

Cubeviz

  • Add ESA pipeline data parser. [#1227]

Mosviz

  • Mosviz Desktop App utilizes new directory parsers, which falls back to NIRSpec parser if
    no instrument keyword is specified. [#1232]

API Changes

  • Command line interface now takes the layout as a required first positional argument after jdaviz
    (jdaviz cubeviz path/to/file). [#1252]

Bug Fixes

  • Fixed clicking in Safari on MacOS when using CTRL-click as right-click. [#1262]

Imviz

  • No longer issues a Snackbar error message when all data is deselected. [#1250]

Other Changes and Additions

  • Change default collapse function to sum.
    This affects collapsed spectrum in Cubeviz and its Collapse plugin default. [#1229, #1237]
  • Data dropdowns in plugins are now filtered to only applicable entries. [#1221]
  • Cube data now has spectral axis last in the backend, to match specutils Spectrum1D
    axis order and work with updated glue-astronomy translators. [#1174]
  • Plugins that create data entries allow overriding the default labels. [#1239]
  • Automatic defaults for model component IDs and equation editor in model fitting. [#1239]
  • Help button in toolbar to open docs in a new tab. [#1240]
  • Snackbar queue handles loading interrupt more cleanly. [#1249]
  • Reported quantities are rounded/truncated to avoid showing unnecessary precision. [#1244]
  • Line analysis quantities are coerced so length units cancel and constants are removed from units.
    [#1261]

v2.4.0 Release Notes

29 Mar 21:09
v2.4.0
a1999fc
Compare
Choose a tag to compare

Also see CHANGES.rst

What's Changed

  • Change simple photometry plot color to magenta by @javerbukh in #1136
  • MNT: Bump glue-jupyter minversion pinning to 0.11.1 by @pllim in #1124
  • Update Specviz GUI data loading docs by @rosteen in #1143
  • DOC: Radial profile text and screenshots by @pllim in #1148
  • Mosviz table scrolling by @kecnry in #1116
  • bump bqplot version to fix slice indicator drag event by @kecnry in #1149
  • Nested viewer toolbars by @kecnry in #1140
  • MNT: Drop Python 3.7 support by @pllim in #1145
  • BUG: Compass performance fix by @pllim in #1152
  • Astrowidgets API: Allow unfilled circles by @pllim in #1101
  • Disable support for per-line/list redshift by @kecnry in #1134
  • Mixin for plugin_opened and use for compass by @kecnry in #1153
  • DOCS: Update cubeviz slice docs by @javerbukh in #1158
  • Update Specviz docs with box zoom explanation by @rosteen in #1163
  • Fix data linking to allow contour over-plotting by @javerbukh in #1154
  • DOCS: mosviz table/redshift manipulation by @kecnry in #1161
  • TST: Test against bqplot 0.12.x by @pllim in #1173
  • re-usable spectral subset dropdown component with color indicator by @kecnry in #1156
  • Move export plot plugin to last in the listing by @pllim in #1160
  • Remove redundant linking code by @javerbukh in #1169
  • Fix model fitting plugin bugs by @rosteen in #1176
  • BUG: Fix load data after imviz.app does not show last loaded data by @pllim in #1178
  • BUG: Surviving Data in viewer must be visible by @pllim in #1164
  • Interactive line identification by @kecnry in #1115
  • Cubeviz: Fix notebook typo by @pllim in #1184
  • MNT: Bump glue-jupyter and glue-astronomy versions by @pllim in #1190
  • MNT: Rename and clean concept notebooks by @pllim in #1185
  • Update pull request checklist entry by @rosteen in #1191
  • Imviz line profile plots by @pllim in #1132
  • MNT: Pin maxversion of Jinja2 until voila catches up by @pllim in #1193
  • MNT: Fix package data definition by @pllim in #1198
  • MNT: Clean package manifest by @pllim in #1201
  • Translator for regions and photutils by @pllim in #1138
  • MNT: Update dependencies in bug report templates by @pllim in #1204
  • Add UI option to show uncertainties in specviz viewer by @javerbukh in #1189
  • generalize subset select component to handle spatial and spectral by @kecnry in #1175
  • Split out subset update handling in line analysis by @rosteen in #1205
  • MNT: Update code owners by @pllim in #1206
  • line-analysis: expose uncertainties when provided by @kecnry in #1192
  • re-usable component for viewer dropdown by @kecnry in #1195
  • MNT: Update glue-jupyter minversion by @pllim in #1209
  • Per viewer uncertainty toggle by @kecnry in #1208
  • fix gaussian smooth "plot in viewer" visibility logic by @kecnry in #1216
  • Preparing release v2.4.0 by @pllim in #1214

Full Changelog: v2.3.0...v2.4.0

v2.3.0

02 Mar 13:06
d82a645
Compare
Choose a tag to compare

See CHANGES.rst for release notes.

What's Changed

  • Put changelog back in unreleased state by @rosteen in #1017
  • MNT: Do not use enable_deprecations_as_exceptions, fix CI by @pllim in #1019
  • Model component name sanitization/validation by @kecnry in #1020
  • TST: Re-enable test_moment_maps by @pllim in #1024
  • Fix model parameter updating after fit for compound models by @rosteen in #1023
  • Use fixed parameters in cube fitting, remove defunct unit removing code by @rosteen in #1026
  • Fix dark theme support for model parameter names by @kecnry in #1029
  • Spelling by @jsoref in #1018
  • move redshift slider to line list plugin by @kecnry in #1031
  • Add Imviz description to main docs page by @larrybradley in #1033
  • BUG: Let mastviz use Imviz by @pllim in #1038
  • Fix voila specviz launch notebook by @kecnry in #1044
  • update load_data docstring for mosviz/specviz2d by @kecnry in #1042
  • model fitting: handle empty poly order input by @kecnry in #1041
  • Add reference to jdaviz app in glue session object by @astrofrog in #1051
  • TST: Update test matrix, etc by @pllim in #1052
  • Cubeviz spectral regions fixes by @rosteen in #1046
  • POC: Simple metadata viewer plugin by @pllim in #1035
  • Implement mechanism for helpers to create new tabs for apps. by @eteq in #952
  • MNT: Officially list matplotlib as dependency by @pllim in #1062
  • viewer.jdaviz_app and viewer.jdaviz_helper links via mixin by @kecnry in #1054
  • Minor refactor of app._link_new_data by @pllim in #1063
  • Rename helper test fixtures from 'app' to 'helper' by @duytnguyendtn in #1064
  • Redshift/line list optimization and minor fixes by @kecnry in #1036
  • FEAT: Radial profile in Imviz simple aperture photometry plugin by @pllim in #1030
  • Imviz compass by @pllim in #983
  • Remove dependency on spectral-cube by @pllim in #1006
  • Slice Wavelength Indicator by @kecnry in #1013
  • fix: workaround for wrong CSS in lab by @mariobuikhuizen in #1072
  • plugins: spectral_subset choice from "None" to "Entire Spectrum" by @kecnry in #1074
  • Line List Plugin: unit choices for custom lines by @kecnry in #1073
  • MNT: Bump bqplot minversion to 0.12.33 by @pllim in #1077
  • Add app.get_tray_item_from_name() method for developers by @pllim in #1078
  • Imviz: New method to load regions from file by @pllim in #1066
  • BUG: Allow custom line list in Hz by @pllim in #1079
  • fix redshift RV input float parsing by @kecnry in #1086
  • TST: Silence specutils warning in fixture by @pllim in #1093
  • BUG: Fix displayed decimals for X/Y centers in Imviz Simple Aperture Photometry plugin by @pllim in #1092
  • MNT: Unpin maxversion of idna by @pllim in #1076
  • Imviz: Load 3D slices, enable delayed_linking by @pllim in #1056
  • DOC: Clarify Imviz load_data performance limitation by @pllim in #1098
  • BUG: Fix writing out moment map to FITS by @pllim in #1099
  • Imviz: Aperture photometry plugin with viewer-agnostic data/subset dropdown menus by @pllim in #1096
  • DOC: Use intersphinx in glue dev doc link by @pllim in #1100
  • Imviz: Add a different radial profile approach by @javerbukh in #1097
  • BUG: Fix transposed moment result by @pllim in #1104
  • box zoom: ignore click without drag events by @kecnry in #1105
  • Remove logging usage from Jdaviz (except Cubeviz) by @pllim in #1085
  • line analysis plugin: basic linear continuum support by @kecnry in #1060
  • MNT: Pin maxversion of glue-jupyter by @pllim in #1119
  • Simple Aperture Photometry Plugin: Auto-populate background by @pllim in #1109
  • Add concept notebook to track jdaviz pypi metrics by @javerbukh in #1121
  • Fix figure marks index error by @kecnry in #1120
  • Fix bug for subsets not having the correct upper value by @javerbukh in #1125
  • MNT: Remove unused code from Imviz parser by @pllim in #1127
  • Line analysis: fix indicator for non (or reverse) sorted data by @kecnry in #1128
  • Imviz: Limit cube slices to 16 by @pllim in #1129
  • Fix simple aperture photometry j-docs-link URL by @pllim in #1133
  • Disable Unit Conversion plugin if Subset exists by @pllim in #1130
  • MNT: Remove build_docs in tox by @pllim in #1135
  • Specviz: load a SpectrumList and combine everything by @ibusko in #1014
  • MNT: Remove unused minversion check by @pllim in #1137
  • Preparing release v2.3.0 by @rosteen in #1139

New Contributors

Full Changelog: v2.2.0...v2.3.0