You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, basically it looks like specreduce will need to add spectral_axis_index=disp_axis in the Spectrum creation call in _get_data_from_image (and maybe one or two other places, that's just the first one I looked at). The test images are 10x10, so specutils can't automatically determine which axis is the spectral axis, since both flux axes have the same size as the spectral axis array that's input (specutils no longer assumes that the last axis corresponds to the spectral axis).
The text was updated successfully, but these errors were encountered:
specutils 2.0rc1 is out. It is imperative that we leverage the synergy of this package with that package.
From astropy/specutils#1221:
A quick run over at https://github.com/astropy/astropy-integration-testing/ failed for specreduce. Do the tracebacks look familiar to you?
https://github.com/astropy/astropy-integration-testing/actions/runs/13929757409/job/38983646191
Here is a native specreduce run, also failed:
https://github.com/astropy/specreduce/actions/runs/13892729677/job/38983700486
@rosteen said:
Yes, basically it looks like specreduce will need to add
spectral_axis_index=disp_axis
in theSpectrum
creation call in_get_data_from_image
(and maybe one or two other places, that's just the first one I looked at). The test images are 10x10, sospecutils
can't automatically determine which axis is the spectral axis, since both flux axes have the same size as the spectral axis array that's input (specutils no longer assumes that the last axis corresponds to the spectral axis).The text was updated successfully, but these errors were encountered: