specutils icon indicating copy to clipboard operation
specutils copied to clipboard

Should with_flux_unit also updates uncertainty unit?

Open pllim opened this issue 1 year ago • 0 comments

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?

pllim avatar Aug 27 '24 16:08 pllim