Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: handle 2D flux in SpectrumList #6

Closed

Conversation

rileythai
Copy link

  • now will unpack 2D flux in SpectrumList cases
  • splitter now returns SpectrumList so as to pass through the SpectrumList validation cases
  • moved to separate area of the code in the event anything else passes a 2D flux array (somehow)
  • data_label case has been simplified down to SpectrumList case when a 2D flux Spectrum1D is encountered

- now will unpack 2D flux in SpectrumList cases
- splitter now returns SpectrumList so as to pass through the SpectrumList validation cases
- moved to separate area of the code in the event anything else passes a 2D flux array (somehow)
- `data_label` case has been simplified down to SpectrumList case when a 2D flux Spectrum1D is encountered
@rosteen
Copy link
Owner

rosteen commented Oct 22, 2024

Thanks, there are a lot of formatting changes here that I don't want so I'm going to grab the relevant changes into a commit on my branch and add you as a coauthor.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants