From 6c6a7e72dcd39ab344fdbcff39118e82b3741b0e Mon Sep 17 00:00:00 2001 From: Clare Shanahan Date: Fri, 15 Nov 2024 16:11:13 -0500 Subject: [PATCH] trying to fix moment map --- .../configs/imviz/plugins/coords_info/coords_info.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/jdaviz/configs/imviz/plugins/coords_info/coords_info.py b/jdaviz/configs/imviz/plugins/coords_info/coords_info.py index f3a68e3b8d..e97fa9c607 100644 --- a/jdaviz/configs/imviz/plugins/coords_info/coords_info.py +++ b/jdaviz/configs/imviz/plugins/coords_info/coords_info.py @@ -622,11 +622,12 @@ def _copy_axes_to_spectral(): pixar_sr = sp.meta.get('_pixel_scale_factor', 1) - disp_flux = flux_conversion_general(sp.flux.value, - sp.flux.unit, - viewer.state.y_display_unit, - flux_uc_equivs(pixar_sr, - sp.spectral_axis)) + # disp_flux = flux_conversion_general(sp.flux.value, + # sp.flux.unit, + # viewer.state.y_display_unit, + # flux_uc_equivs(pixar_sr, + # sp.spectral_axis)) + disp_flux = sp.flux # Out of range in spectral axis. if (self.dataset.selected != lyr.layer.label and