Hi Magnus,
Nice idea. Tools for easy comparison is an important feature to have. I did a similar function to compare images. I use utils.stack to put the images side to side (in a 2D array). The images have then the same contrast (I needed it). Could it be useful for you?
Similarly I did a compare_signal function that given several spectra or several indices compare the signal in one plot. So I have done a compare_image and a compare_signal (and compare_histogram).
It would be nice to put things together in a nice way. Maybe a global utils.compare function that
- take a list as input
- an argument how to compare. Same navigation (different windows for signal), Same signal (spectrum in the same plot, image side by side), Same histogram.
What do you think?