Skip to content

Commit

Permalink
trying to fix moment map
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Nov 15, 2024
1 parent 66243ef commit 6c6a7e7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions jdaviz/configs/imviz/plugins/coords_info/coords_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c6a7e7

Please sign in to comment.