Brett M. Morris

Results 148 comments of Brett M. Morris

@kecnry I'm taking up this issue and was wondering if you had further opinions since your original summary. I'm not familiar with how most people use specreduce, but I think...

@kecnry Is there any reason to stick with using `dataclasses` in `tracing.py`? I've already spent a few hours working on making immutable attributes on a dataclass, but it's all pretty...

For broader discussion of this problem, see this [blog post](https://florimond.dev/en/posts/2018/10/reconciling-dataclasses-and-properties-in-python/) and its never-ending discussion in the comments.

In the last two commits I've: * removed `BaseTrace` and implemented the same functionality on the `Trace` class, thanks @kecnry ([comment](https://github.com/astropy/specreduce/pull/147#issuecomment-1291965589)) * moved the `trace_pos` attribute to be specific to...

That helps! I still can't figure out how to add a colormap to the (x,y,z) points – is the widget in the middle-left of glue accessible as the one in...

When I look at the default `layer.cmap`, I see that it's an instance of `matplotlib.colors.ListedColormap`. When I try to set `layer.map` to my own `ListedColormap`, I get the following error...

Thanks for your input @eteq. > And "visualizing spectral data cubes" is a one sentence answer, whereas "visualizing spectral data cubes and other things that are cubical like ramps, although...

The subset choice of the selected aperture was implemented in https://github.com/spacetelescope/jdaviz/pull/2664. I think the simplest solution for now is to translate to `NDDataArray` with ```python nddata = spectral_cube.get_object(cls=NDDataArray) ``` without...

The glue-astronomy NDData translator will represent any uncertainties in glue `Data` entry for the uncertainty as `StdDevUncertainty` by default (see [NDData source here](https://github.com/glue-viz/glue-astronomy/blob/0ef7d6b678ac009a63fa3f6f7fffa2777d175d25/glue_astronomy/translators/nddata.py#L99)) when you ask for `data.to_object`. But note...