-
Let's say I have 3 spatial Subsets and then 1 spectral Subset. I see on the screen as above. What should I expect when I run
Is there a way to grab the spectra that is highlighted by the green lines? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not directly from a user-friendly API, no, although that is planned for future work (#1490 🐱). To do it manually, you could get the mask from subset 2 and apply it to the fully collapsed spectrum of subset 3 (that's how the highlighting is done under-the-hood by #1528). The "mask" can be accessed either from the subset object, or by checking |
Beta Was this translation helpful? Give feedback.
Not directly from a user-friendly API, no, although that is planned for future work (#1490 🐱). To do it manually, you could get the mask from subset 2 and apply it to the fully collapsed spectrum of subset 3 (that's how the highlighting is done under-the-hood by #1528). The "mask" can be accessed either from the subset object, or by checking
isnan
on the fluxes of the retrieved Subset 2 (in your case above).