Skip to content

Commit

Permalink
change log
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Nov 20, 2024
1 parent 7f9e561 commit d6e40ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ Bug Fixes

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

- 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 aperture photometry. [#3228]

Cubeviz
^^^^^^^

Expand Down
5 changes: 0 additions & 5 deletions jdaviz/core/unit_conversion_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,6 @@ def flux_conversion_general(values, original_unit, target_unit,
directly using Astropy's `unit.to()`, as it handles additional logic for
special cases.
Note: that this is a simplified version of `utils.flux_conversion`.
Unlike that function, all required equivalencies must be explicitly passed
in, instead of being generated from an input Spectrum1D object. This function
could replace that one, as a follow up.
Parameters
----------
values : array-like or float
Expand Down

0 comments on commit d6e40ba

Please sign in to comment.