Skip to content

Releases: spacetelescope/jdaviz

v4.4.1

26 Sep 19:37
633191f

Choose a tag to compare

4.4.1 (2025-09-26)

Bug Fixes

  • Fixes cases where import data raises exception in attempting to set metadata. [#3797]

Cubeviz

  • Speed up loading of large cubes into cubeviz. [#3791]

Specviz2d

  • Automatic spectral extraction now works when multiple 2D spectra are loaded. [#3793]

  • Fixes an incorrect API hint in 2D Spectral Extraction. [#3798]

v4.4.0

18 Sep 19:48

Choose a tag to compare

4.4 (2025-09-18)

New Features

  • The Model Fitting plugin now allows the user to select a fitter from a dropdown menu, with the default being the
    astropy.modeling.fitting.TRFLSQFitter. [#3720]

  • Dropdown menus generated by plugin_select.vue now have the ability to be searched when
    enabled. [#3729]

  • Enable unix style wildcard matching for searches in UI dropdown menus and
    API objects that support multiselect. [#3744, #3752]

  • Loaders now allow selecting which viewer(s) to show the data or whether to create a new viewer. [#3739, #3766, #3774]

  • Ability to change the logger levels and clear the logger history from the UI. [#3745]

  • Initialized model components in Model Fitting now update when units are changed by the
    Unit Conversion plugin. [#3742]

  • Ability to show/hide resolver and loader selection using remote server settings. [#3785]

Specviz

  • Added support for WFSS Level 3 data. [#3729]

  • Spectrum lists default to selecting the first available source. [#3771]

Bug Fixes

Cubeviz

  • Speed up loading of large cubes into cubeviz. [#3787]

Other Changes and Additions

  • When importing a 2D spectrum file into a SpectrumList, surface brightness units are automatically converted to flux units. [#3729]

  • Linking is now generalized to act based on physical type. [#3698]

  • Improve memory usage when loading large cubes in cubeviz. [#3788]

v4.3.2

15 Sep 18:32

Choose a tag to compare

4.3.2 (2025-09-15)

Bug Fixes

  • Fixes support for using jdaviz downstream in lcviz. [#3772]

  • Updated JWST data quality flag for bit 8 to match updated value in stdatamodels. [#3765]

  • Fixed a bug in Line Analysis where spectra were improperly being shifted away from
    0 after continuum subtraction, particularly affecting absorption features. [#3775]

Imviz

  • Allow image importer to accept component labels starting with 'SCI' rather
    than only matching 'SCI' exactly. [#3781]

v4.3.1

03 Sep 20:14
b070bb1

Choose a tag to compare

4.3.1 (2025-09-03)

Bug Fixes

  • Disable some plugins when there is no data loaded into any relevant viewer, and fix tracebacks
    when unloading all data. [#3730]

  • Distance measurement marks now update properly upon unit conversion. [#3716]

  • Use validator on subset layer visibility and subset deletion to ensure toggling visibility and
    deleting subsets from data menu and plot options updates accordingly. [#3708]

  • Fixed a bug in freezable state _set_zoom_radius_center where x/y_min/max values were calculated incorrectly when the viewer was rotated [#3731]

  • Fixed issue in Rampviz where new loader infrastructure was unintentionally exposed. [#3740]

  • Restrict polynomial order value of Polynomial1D model component to be >= 0. [#3741]

  • When all data is unloaded from 1D Spectrum viewer, and new data is loaded, the unit setting in the unit conversion plugin from the initial
    dataset are maintained. [#3746]

Cubeviz

  • Fixed issue with initial model components not using spectral y axis unit. [#3715]

  • Fixed reestimating model parameters when cube fitting in the case where the cube's
    first axis is the spectral axis. [#3717]

  • Fixed issue with initializing model components when a spectral subset is selected and
    Cube Fit is toggled on. [#3727]

Specviz2d

  • Fix various bugs in the Line Analysis plugin, including some issues with spectral axis unit conversions and deletion of subsets. [#3746]

v4.3.0

28 Jul 16:07

Choose a tag to compare

4.3 (2025-05-28)

New Features

  • The Markers plugin now includes a Distance Tool to interactively measure pixel, on-sky, and axis-separated
    (dx, dy) distances in any viewer. The tool features a real-time preview line that follows the cursor. [#3609, #3694]

  • The Plot Options plugin now highlights the tab for the active (top-most) data layer
    in the selected viewer. [#3514]

  • Added an STC-S string region parser to the Footprints plugin. [#3479]

  • General (work-in-progress) centralized app-instance available at top package-level. [#3475, #3526, #3522, #3531, #3555, #3577, #3675, #3682, #3684]

  • Added a results history table to the Line Analysis plugin. Results are no longer updated in realtime with changes to inputs,
    but rather when clicking the button or calling get_results, at which point an entry is added to the results history table
    by default. [#3557]

  • User API access to simplify_subset() method in the Subset Tools plugin. [#3601]

  • Hitting the "Enter" key while changing a value in the Subset Tools plugin will make a call to accept the changes (equivalent to clicking the "Update" button). [#3600]

  • Hitting the "Enter" key while renaming a subset or footprint will accept the changes, hitting "Escape" will cancel. [#3600]

  • Added subset_label keyword argument to import_region method of Subset Tools plugin
    to name the resulting subset(s). [#3616]

  • Ability to import subsets from the Subset Tools plugin UI. [#3639]

  • Aperture Photometry public API exposed, added API hints to plugin. [#3617]

  • Allow custom resolutions when exporting viewers to png or mp4. [#3478]

Cubeviz

  • Ability to ingest and export SkyRegion objects. [#3502]

  • Add sonified layer for each cube created by the Sonify Data plugin. [#3430, #3660]

  • Sonified data can now be added to any image viewer after initial sonification. [#3690]

  • Renamed Spectral Extraction plugin to 3D Spectral Extraction. [#3691]

Imviz

  • load_data is deprecated in favor of load method and loaders infrastructure. Default data-labels
    from load_data may change in some cases, with the actual extension name used in place of [DATA]
    and the version number included along with the extension. [#3662, #3709, #3713]

  • Loading data is now done through the loaders menu in the right sidebar. The "import data" button is
    deprecated and will open the new sidebar. [#3662, #3709]

  • Added ability to load remote data from a S3 URI to Imviz. [#3500]

  • Footprints plugin now supports selecting the closest overlay
    to a clicked point in the image viewer. [#3525, #3539, #3546, #3554]

  • Improve performance by using FITS WCS for reference data layers when linked by WCS, rather than GWCS [#3483, #3535]

  • The Export plugin now supports saving spatial subsets as STC-S strings, including CircleSkyRegion and EllipseSkyRegion,
    which are exported as CIRCLE and ELLIPSE STC-S shapes, respectively. [#3591, #3595]

  • Improve performance by using FITS WCS for reference data layers when linked by WCS, rather than GWCS. [#3483, #3535, #3540, #3687]

Specviz

  • load_data is deprecated in favor of load method and loaders infrastructure. [#3473]

  • Loading data is now done through the loaders menu in the right sidebar. The "import data" button is
    deprecated and will open the new sidebar. [#3473]

Specviz2d

  • load_data is deprecated in favor of load method and loaders infrastructure. [#3473]

  • Loading data is now done through the loaders menu in the right sidebar. The "import data" button is
    deprecated and will open the new sidebar. [#3473]

  • New plugin to vizualize the cross-dispersion profile [#3552]

  • Renamed Spectral Extraction plugin to 2D Spectral Extraction. [#3691]

API Changes

  • Allow get_regions and get_subsets to take a data label and have a subset apply to the wcs of that data.
    By setting a value for wrt_data, the user is requesting a region type that is the opposite of the current link
    type, (i.e. SkyRegion when linked by pixel or PixelRegion when linked by wcs.) Also deprecate the
    return_sky_region kwarg and leave a deprecation warning to use wrt_data instead. [#3527]

Cubeviz

  • Radial profile and curve of growth in Aperture Photometry plugin are now consistent
    with photutils.profiles. [#3510]

  • BEHAVIOR CHANGE: Change import_region method to default to creating a new subset when run.
    Also allow editing a subset using the edit_subset argument. [#3523]

Imviz

  • Radial profile and curve of growth in Aperture Photometry plugin are now consistent
    with photutils.profiles. [#3510]

  • Catalog Search: When catalog is imported from file, its original column names are
    preserved on export. [#3519]

  • User API for Catalog Search plugin (including catalog, max_sources,search,
    table, and table_selected) is now public. [#3529]

Bug Fixes

  • Improve performance when adding/removing subsets by avoiding circular callbacks. [#3628]

  • Disable export and raise vue error message upon selection of unsupported subset format. [#3635]

  • Fixed issue in compute_scale to handle the case when the wcs forward
    transform does not use units, which was previously causing issues when
    aligning by WCS. [#3658]

  • Fixed API hints for viewers in the data-menu. [#3695]

Cubeviz

  • Significantly improved the performance of Cubeviz when creating several subsets in the
    image viewer. [#3626]

  • Broadcast snackbar message to user when sonification of a data cube completes. [#3647]

  • Fixes exporting an image viewer as a movie by starting the movie at the specified slice
    and returning to the correct slice after exporting. [#3710]

Imviz

  • Catalog Search: Fixed a bug where the plugin modifies the input table if
    import_catalog is used on a table instance (not from file). [#3519]

  • Fix dropdowns for overlay not showing in UI. [#3640]

  • Prevent image wrapping in Imviz with Roman L2 images with GWCS. [#2887]

  • Fix get_zoom_limits when WCS linked and out of image bounds. [#3654]

Specviz2d

  • Fixed an issue with default angle unit being set in unit conversion plugin, which fixed
    a bug when background data from the spectral extraction plugin is added to the viewer. [#3661]

  • Fixed a bug loading array traces into Specviz2d. [#3697]

Other Changes and Additions

  • Bumped minimum version of photutils to v2.2 and Python to 3.11. [#3510]

  • Bumped minimum version of specutils to 2.0. [#2922]

  • Added strauss, qtpy, PySide6 and roman_datamodels to the list of optional
    dependencies installed with the [all] extra dependencies flag
    (i.e., pip install jdaviz[all]). [#3556]

  • Auto-update sonification label upon adding sonification to viewer. [#3430, #3656]

v4.2.3

16 Jun 14:04

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

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

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

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

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]