specutils
specutils copied to clipboard
Should with_flux_unit also updates uncertainty unit?
https://github.com/astropy/specutils/blob/cadfe734fbe2dca2d16fd5a3e101653049c4aa62/specutils/spectra/spectrum_mixin.py#L88
I find that while flux unit is updated, the uncertainty stays as old unit, when I tried to use this method for https://github.com/spacetelescope/jdaviz/pull/3168 . In the end, I did not use this method (also the copy is unnecessary for me too but addressing that is irrelevant here).
Should uncertainty unit also be updated in this method?