spacetelescope / cubeviz

Data analysis package for cubes. https://cubeviz.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
15 stars 25 forks source link

Specviz spectral smoothing and output units #501

Closed brechmos-stsci closed 5 years ago

brechmos-stsci commented 5 years ago

Need to determine why the output of spectral smoothing via specviz does not have units. This might now work when the new specviz is incorporated, so this might just close-able when the specviz - cbueviz PR is merged.

nmearl commented 5 years ago

I do not believe the new output from specviz spectral smoothing contains units. The data passed to the add_component method is a simple array-like. This needs to be changed to an explicitly glue Component object in order to attached associated units. This would need to be done in specviz's glue data viewer.

SaOgaz commented 5 years ago

Confirmed in test session that this is working!