Spectra¶

A widget to visually explore series of spectra with no spatial information.
Description¶
The Spectra widget allows quick visual exploration of multiple spectra. The X and Y position of the cross-hair cursor is displayed in real time in the top-right corner. The spectrum which the mouse points at is plotted with a thick blue line. This spectrum can be selected (the line changes to a thick dashed line) and multiple selections can be done with the pressing the modifier key dependent on the operating system default. Selected spectra are sent to the output of the widget and are available for further manipulation and processing.

The ESC key closes the widget. Parameters are saved, so the view will be the same when the widget is reopened.
The graph can be exported in PNG format.
Mouse behavior¶
Left-click + drag: move plotting canvas
Right-click: zoom to fit
Right-click + drag: free zoom (horizontal movement zooms X axis, vertical movement zooms Y axis)
Scroll: zoom X axis with the center position of the current mouse position
Scroll + modifier key: zoom Y axis with the center position of the current mouse position