Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[FEAT] Add ability to retrieve subset applied to specific spectrum #1490

Closed
rosteen opened this issue Jul 14, 2022 · 1 comment · Fixed by #2199
Closed

[FEAT] Add ability to retrieve subset applied to specific spectrum #1490

rosteen opened this issue Jul 14, 2022 · 1 comment · Fixed by #2199
Labels
cubeviz feature Feature request

Comments

@rosteen
Copy link
Collaborator

rosteen commented Jul 14, 2022

Currently, when you use get_spectra, you get back a spectrum for each of the subsets that are defined. However, if there are multiple spectra, you still only get back one spectrum per subset, applied to (I believe) the most recent data added to the viewer (although there might not be any consistency here). We should update the relevant API methods so that there is a way through the API to retrieve a specific spectrum with a specific subset applied to it, rather than needing to get the mask from the subset spectrum returned to apply to another spectrum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cubeviz feature Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants