Open rosteen opened 2 years ago
One option to do this might be to re-enable spatial collapsing in the plugin to create a (static) spectrum with a fixed collapse function (that then does not update to changes in the viewer's collapse function or the spatial regions). Would that be enough for the use case you have in mind?
Currently, changing the collapse function for one spectrum shown in the spectrum viewer changes the function for all collapsed spectra. It would be nice to be able to choose different functions for different spectra. This may require some upstream work, since I believe that currently the collapse function is a property of the spectrum viewer itself rather than a property attached to the individual layers/data.