Skip to content

Releases: spacetelescope/jdaviz

v3.3.1

09 Mar 20:04
Compare
Choose a tag to compare

3.3.1 (2023-03-09)

Bug Fixes

  • Auto-label component no longer disables the automatic labeling behavior on any keypress, but only when changing the
    label [#2007].

  • Loading valid data no longer emits JSON serialization warnings. [#2011]

  • Fixed linking issue preventing smoothed spectrum from showing in Specviz2D. [#2023]

  • Fixed redshift slider enabling/disabling when calling load_line_list, plot_spectral_line,
    plot_spectral_lines, or erase_spectral_lines. [#2055]

  • Fixed detecting correct type of composite subsets in subset dropdowns in plugins. [#2058]

Cubeviz

  • Calling cubeviz.specviz.y_limits(...) no longer emits irrelevant warning. [#2033]

  • Fix initial slice of uncertainty viewer. [#2056]

Imviz

  • Fixed aperture and background dropdowns validation for Simple Aperture Photometry
    plugin. [#2032]

  • Line Profiles plugin no longer updates when "l" key is pressed while plugin is not opened. [#2073]

v3.3.0

09 Feb 15:04
Compare
Choose a tag to compare

New Features

Cubeviz

  • Improved mouseover info display for spectrum viewer. [#1894]

Mosviz

  • Reliably retrieves identifier using each datasets' metadata entry. [#1851]

  • Improved mouseover info display for spectrum viewer. [#1894]

Specviz

  • Improved mouseover info display for spectrum viewer. [#1894]

Specviz2d

  • Improved mouseover info display for spectrum viewer. [#1894]

Bug Fixes

Mosviz

  • RA/Dec fallback values changed to "Unspecified" to avoid JSON serialization warning when loading data. [#1958, #1992]

Other Changes and Additions

  • Gaussian Smooth products are always labeled with the original data [#1973]

v3.2.1

02 Feb 18:25
Compare
Choose a tag to compare

Bug Fixes

Imviz

  • Fixed crashing when clicking Home button after markers are added. [#1971]

Specviz2d

  • Fixes link for help button in app toolbar. [#1981]

Other Changes and Additions

  • Unit Conversion plugin is temporarily disabled while being reworked. [#1970]

v3.2.0

04 Jan 21:08
Compare
Choose a tag to compare

New Features

  • New rainbow, reversed rainbow, and seismic (blue-red) colormaps for images. [#1785]

  • Spinner in plot options while processing changes to contour settings. [#1794]

  • Model fitting plugin can optionally expose the residuals as an additional data collection entry.
    [#1864, #1891]

  • Resetting viewer limits (via reset_limits or the zoom home button) now accounts for all visible
    data layers instead of just the reference data. [#1897]

  • Linear1D model component now estimates slope and intercept. [#1947]

  • Model fitting and line analysis plugins provide a warning and prohibit calculating results if the
    selected data entry and spectral subset do not overlap on the spectral axis. [#1935]

  • Model fitting: API and UI to re-estimate model parameters based on current data/subset selection.
    [#1952]

Cubeviz

  • Added ability to load plain Numpy array cube. [#1773]

  • Added Slice plugin player control buttons. [#1848]

Imviz

  • Warnings in aperture photometry plugin when using raw profile with large subsets. [#1801]

  • Subset Tools plugin now allows recentering of editable spatial subset. [#1823]

  • Links control plugin shows a confirmation overlay to clear markers when changing linking type.
    [#1838]

Mosviz

  • Disable simultaneous row plotting and 1D linking in Mosviz
    to substantially decrease load times. [#1790]

  • Added coordinates display panels for Mosviz viewers. [#1795]

  • load_data method can now load JWST NIRCam and NIRSpec level 2 data. [#1835]

Specviz

  • Spectrum viewer now shows X and Y values under cursor. [#1759]

  • Switch to opt-in concatenation for multi-order x1d spectra. [#1659]

Specviz2d

  • Update to be compatible with changes in specreduce 1.3, including FitTrace
    with Polynomial, Spline, and Legendre options. [#1889]

  • Add dropdown for choosing background statistic (average or median). [#1922]

API Changes

Cubeviz

  • CubeViz is deprecated, use Cubeviz. [#1809]

Imviz

  • Simple Aperture Photometry plugin no longer performs centroiding.
    For radial profile, curve of growth, and table reporting, the aperture
    center is used instead. For centroiding, use "Recenter" feature in
    the Subset Tools plugin. [#1841]

Mosviz

  • Removed unused MosvizProfileView viewer class. [#1797]

  • MosViz is deprecated, use Mosviz. [#1809]

Specviz

  • SpecViz is deprecated, use Specviz. [#1809]

Bug Fixes

  • Console logging is restored for "Desktop Mode" Windows users. [#1887]

  • Model fitting initial estimates now respect selected subset. [#1947, #1954]

Cubeviz

  • Support for fitting spectral subsets with Cubeviz [#1834]

Imviz

  • Clearing markers in Catalog Search will only hide them, which improves
    "Clear" performance. [#1774]

  • Adding data will not result in clearing existing markers. [#1848]

  • viewer.center_on() now behaves correctly on non-reference data. [#1928]

Mosviz

  • mosviz_row metadata now included in NIRISS-parsed 1D spectra. [#1836]

  • Now loads NIRCam direct image properly when loading a directory. [#1948]

v3.1.2

20 Dec 20:52
Compare
Choose a tag to compare

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

23 Nov 20:52
Compare
Choose a tag to compare

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

26 Oct 19:23
Compare
Choose a tag to compare

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

  • Updated example notebooks (except MosvizExample) to use in-flight JWST data. [#1680]
  • Change RA/Dec significant figures from 4 to 6 in aperture photometry plugin. [#1750]

v3.0.2

18 Oct 17:45
Compare
Choose a tag to compare

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

10 Oct 22:30
Compare
Choose a tag to compare

Hotfix release to fix the CITATIONS.cff file that wasn't updated in the 3.0.0 release.

v3.0.0

10 Oct 19:08
Compare
Choose a tag to compare

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), where data_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), where data_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]