Skip to content

Releases: spacetelescope/jdaviz

v4.2.3

16 Jun 14:04
Compare
Choose a tag to compare

Bug Fixes

  • Exporting as SVG now behaves the same as exporting PNG and respects
    specified output directory. [#3592]

  • Improve the "no matching importers" message and suppress it
    until a target is selected. [#3593]

  • Pinned specutils<2.0 until our compatibility fix is merged. [#3605]

  • Fix to data menu logic for LCviz compatibility. [#3613]

  • Hide rename button in editable dropdowns in multiselect mode. [#3623]

Cubeviz

  • Broadcast snackbar message to user when Collapse plugin fails to perform the collapse. [#3604]

  • Use validator on spectral subset layer visibility in flux/uncertainty viewers when slice indicator
    is within the spectral subset bounds. [#3571]

Other changes and Additions

  • Updated minimum version of echo to 0.11, as it significantly improves the performance of CubeViz. [#3627]

v4.2.2

12 May 18:07
8d6881c
Compare
Choose a tag to compare

4.2.2 (2025-05-12)

Bug Fixes

  • Fixed viewer layout to persist when changing jupyter/browser tabs. [#3551]

  • Fixed bug where subsets applied with remove / andNot mode when wcs linked were not able to return sky regions. [#3547]

  • Fixed bug on MOSVIZ where an exception was raised when loading JWST S2D file from a directory.

  • Improved error messaging when passing invalid URL to load. [#3580]

Cubeviz

  • Replace file and fix label in example notebook. [#3537]

Imviz

  • Fixes changing alignment after creating additional image viewers. [#3553]

  • Fix bug where markers from catalog plugin were unable to be added to viewer after orientation
    change, specifically for case when GWCS data uses Lon/Lat. [#3576]

Specviz

  • Fix bug where converting spectral units multiple times caused spectrum viewer limits
    to stop resetting to correct x-limits. [#3518]

Specviz2d

  • Improved initial guess for trace for automatic extraction. May change results
    for automatic extraction for data with nonfinite values. [#3512]

  • Replace file in example notebook. [#3537]

  • Fix bug preventing deletion of 2D spectrum data. [#3541]

v4.2.1

24 Mar 19:43
Compare
Choose a tag to compare

Bug Fixes

  • Significantly improved performance for panning and zooming with large datasets. [#3513]

v4.2.0

17 Mar 18:54
Compare
Choose a tag to compare

4.2 (2025-03-17)

New Features

  • Added API and UI for renaming subsets to Subset Tools plugin. [#3356, #3392]

  • Added API for updating subsets to Subset Tools plugin. [#3484]

  • Viewer data-menus are now found in the legend on the right of the viewer. [#3281]

  • Added 'select_rows' method to plugin tables to enable changing
    curent selection by indicies or slice. Also added 'select_all' and 'select_none'
    methods to change active selection to all table items or clear all selected
    items without clearing the table. [#3381]

  • Plugin API methods and attributes are now searchable from the plugin tray (and visible when API hints are enabled). [#3384]

  • Snackbar history logger has been moved from an overlay to a separate tab in the right sidebar tray. [#3466]

Cubeviz

  • Enhancements for the cube sonification plugin. [#3377, #3387]

Imviz

  • Catalog Search now supports importing Astropy table object via import_catalog method. [#3425]

  • Enhance the Catalog Search plugin to support additional columns when loading catalog data from files. [#3359]

  • Catalog Search clear_table now removes all associated markers from the viewer. [#3359]

  • Catalog Search now shows a table of selected entries and allows selecting/deselecting via a tool in the image viewer. [#3429]

  • Virtual Observatory plugin to query resources and download data products. [#2872, #3470]

Specviz2d

  • Implement the Unit Conversion plugin in Specviz2D. [#3253]

API Changes

  • jdaviz.test() is no longer available. Use pytest --pyargs jdaviz <options>
    directly if you wish to test your copy of jdaviz. [#3451]

  • **kwargs from viz.plugins['Subset Tools'].import_region(..., **kwargs) is removed, region_format=None
    is now explicitly supported. The default value for max_num_regions option
    is now 20 instead of None (load everything). [#3453, #3474]

Cubeviz

  • cubeviz.load_regions() and cubeviz.load_regions_from_file() are deprecated.
    Use cubeviz.plugins['Subset Tools'].import_region() instead. [#3474]

  • Cubeviz-specific helper-level methods are deprecated and will be removed in the future in favor of plugin APIs as configs are centralized. [#3388]

Imviz

  • Orientation plugin: link_type and wcs_use_affine (previously deprecated) have now been removed. [#3385]

  • imviz.load_regions() and imviz.load_regions_from_file() are deprecated.
    Use imviz.plugins['Subset Tools'].import_region() instead. [#3474]

  • imviz.get_catalog_source_results() is deprecated.
    Use imviz.plugins['Catalog Search'].export_table() instead. [#3497]

  • get_aperture_photometry_results helper-level method is deprecated and will be removed in the future in favor of plugin APIs as configs are centralized. [#3388]

Specviz

  • Specviz-specific helper-level methods are deprecated and will be removed in the future in favor of plugin APIs as configs are centralized. [#3388]

Specviz2d

  • Specviz2d-specific helper-level methods are deprecated and will be removed in the future in favor of plugin APIs as configs are centralized. [#3388]

Bug Fixes

  • Fix showing dataset dropdown in cubeviz's spectral extraction for flux-cube products from other plugins. [#3411]

  • SDSS line list now in vacuum, and SDSS IV in air. Previously, they were incorrectly categorized.
    To keep categorization correct, SDSS IV list no longer carries wavelengths less than 2000 Angstrom. [#3458]

  • Fixed some broken flux conversions that were dropping the factor of solid angle. [#3457]

  • subset_tools.get_regions uses app.get_subsets under the hood, which fixes retrieving composite subsets when sky linked as
    well as an errant snackbar message when a mix of spectral/spatial subsets are present. [#3476]

Cubeviz

  • Fixed copious warnings from spectrum-at-spaxel tool when data has INF. [#3368]

  • Hide spectral subset layer visibility in flux/uncertainty viewers when slice indicator
    is within the spectral subset bounds. [#3437]

Imviz

  • Improve performance of re-rendering during orientation change. [#3452]

  • Fix incorrect matching between RA/Dec and pixel coordinates in Catalog search results. [#3464]

  • Fixed "zoom to selected" in Catalog Search plugin when multiple sources are selected. [#3482]

Specviz

  • Fixed traceback in model fitting due to units not being represented as strings. [#3412]

Specviz2d

  • Fix subset linking/displaying between pixel/wavelength in Specviz2d viewers. [#2736]

  • Fixes missing API entry for spectral extraction's export_bg_spectrum. [#3447]

  • Fixes default location of trace in spectral extraction when some columns are filled with all zeros or nans. [#3475]

Other Changes and Additions

  • Bumped minimum version of photutils to v1.12.1. [#3432]

  • Refactored flux conversion to use a single function for all plugin/viewer flux/surface brightness
    conversions. [#3457]

v4.1.1

31 Jan 19:29
b39a35c
Compare
Choose a tag to compare

4.1.1 (2025-01-31)

Bug Fixes

  • Fixes traceback from the data-menu that can be caused by a viewer rename. [#3383]

  • Fixes data-menu visibility when app is scrolled out of view. [#3391]

  • Fix Slice plugin for indexing through temporal slices. [#3235]

Imviz

  • Spatial subsets no longer show as having mixed visibility (in the legend and plot options tab) when aligned by WCS. [#3373]

  • Fixed Gaia catalog search sometimes failing with invalid SOURCE_ID look-up. [#3400]

v4.1.0

23 Dec 17:57
Compare
Choose a tag to compare

4.1 (2024-12-23)

New Features

  • API method to toggle API hints. [#3336]

  • Changing flux/SB display units no longer resets viewer zoom levels. [#3335]

Cubeviz

  • Add Sonify Data plugin which uses the Strauss package to turn a data cube into sound. [#3269]

Imviz

  • Orientation plugin API now exposes create_north_up_east_left and create_north_up_east_right methods. [#3308]

  • Add Roman WFI and CGI footprints to the Footprints plugin. [#3322, #3345]

  • Catalog Search plugin now exposes a maximum sources limit for all catalogs and resolves an edge case
    when loading a catalog from a file that only contains one source. [#3337]

  • Catalog Search plugin zoom_to_selected is now in the public API. The default
    zoom level changed from a fixed 50 pixels to a zoom window that is a fraction of
    the image size (default 2%) to address and issue with zooming when using a small
    image or WCS linked. [#3369]

Specviz

  • Specviz parser will now split a spectrum with a 2D flux array into multiple spectra on load
    (useful for certain SDSS file types). [#3229]

API Changes

  • Removed API access to plugins that have passed the deprecation period: Links Control, Canvas Rotation, Export Plot. [#3270]

  • Subset Tools plugin now exposes the subset, combination_mode, recenter_dataset,
    recenter, get_center, and set_center in the user API. [#3293, #3304, #3325]

  • Metadata plugin: metadata_plugin.metadata API has been deprecated; use
    metadata_plugin.meta instead, which will return a Python dictionary instead of
    list of tuples. [#3292]

  • Add get_regions method to subset plugin to retrieve spatial/spectral subsets as
    regions or SpectralRegions, deprecate get_interactive_regions and get_spectral_regions. [#3340]

Bug Fixes

  • Fixed broken flux unit conversions in all plugins that respond to changes in flux unit changes. These cases
    occured when certain flux-to flux-conversions occured, as well as certain conversions between flux and surface
    brightness. This PR also fixed an issue with unit string formatting in the aperture photometry plugin. [#3228]

  • Fixed broken histogram pan/zoom in Plot Options plugin. [#3361]

  • Fixed bug with Plot Options select_all when data is float32. [#3366]

  • Fixed an issue with back-to-back calls of set_limits and get_limits. [#3371]

Cubeviz

  • Removed the deprecated save as fits option from the Collapse, Moment Maps, and Spectral Extraction plugins; use the Export plugin instead. [#3256]

  • Fixed bugs where cube model fitting could fail if Jdaviz custom equivalencies were required. [#3343]

Other Changes and Additions

  • Added a short description of each plugin in the side menu, visible before the plugin is opened. Removes redundant descriptions above link
    out to documentation when plugin is opened. Enable search on plugin description in addition to title. [#3268]

  • Improved performance of app.get_subsets for the single-subset case. [#3363]

v4.0.1

16 Dec 22:20
Compare
Choose a tag to compare

Bug Fixes

  • Improved performance and removed jittering for the matched box zoom tool. [#3215]

  • Fixed Aperture Photometry radial profile fit crashing when NaN is present in
    aperture data for Cubeviz and Imviz. [#3246]

  • Prevent PluginMarks from converting y-range so they maintain their position
    in the spectrum-viewer when spectral y units are converted. [#3242]

  • Added nbclassic dependency to fix solara-based popouts. [#3282]

  • Fixed viewer widgets displaying improperly if initialized out of view in Jupyter Lab. [#3299]

  • Fixed width of sliders in plugins to use full-width of plugin. [#3303]

  • Raise an error when attempting to open in a popout or sidecar when not supported (i.e. within VSCode). [#3309]

Cubeviz

  • Add missing styling to API hints entry for aperture_method in the spectral extraction plugin. [#3231]

  • Fixed "spectrum at spaxel" tool so it no longer resets spectral axis zoom. [#3249]

  • Fixed initializing a Gaussian1D model component when Cube Fit is toggled on. [#3295]

  • Spectral extraction now correctly respects the loaded mask cube. [#3319, #3358]

Imviz

  • Remove "From File.." option when running on an external server. [#3239]

  • Button in the footprints plugin to change the link-type now redirects to the orientation plugin
    when the change fails due to the presence of subsets or markers. [#3276]

  • Updates UI language in the orientation plugin to better match API. [#3276]

  • Update Roman L2 example files in example notebook. [#3346]

v3.10.4

29 Oct 18:25
Compare
Choose a tag to compare

3.10.4 (2024-10-29)

Bug Fixes

  • Stretch histogram in zoom limits no longer attempts unnecessary updates when zoom limits are changed. [#3151]

Imviz

  • Remove "From File.." option when running on an external server. [#3239]

Specviz2d

  • Fix matched mouseover marker for 1d spectrum viewer when mouse is over 2d spectrum viewer. [#3203]

v4.0.0

17 Oct 15:49
Compare
Choose a tag to compare

4.0 (2024-10-17)

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.18. Moment 0 calculation is now in units
    of flux*dx (rather than flux) [#3184]

v3.10.3

22 Jul 21:45
9d02d4a
Compare
Choose a tag to compare

3.10.3 (2024-07-22)

Bug Fixes

  • Fixes exporting the stretch histogram from Plot Options before the Plot Options plugin is ever opened. [#2934]

  • Previous zoom tool is optimized to only issue one zoom update to the viewer. [#2949]

  • Fixes overwrite behavior for plugin plots, and properly closes overwrite warning overlay after confirmation. [#3094]

  • Disable all non-image exporting when the server is not running locally, to avoid confusion with the file being saved on the server. [#3096]

Cubeviz

  • Fixed a bug with filename handling for movie exports. [#2942]

Imviz

  • Fix multiple footprints bug that prevented footprint updates on changes to the
    viewer orientation. [#2918]