esmraldi.spectralviewer¶
Simple 2D viewer for MS images
Module Contents¶
Classes¶
- class esmraldi.spectralviewer.SpectralViewer(ax, X, spectra, **kwargs)¶
Bases:
object- onclick(self, event)¶
On click event.
- Either:
Show the spectrum associated to the picked position on the image
Or change m/z image associated to the picked position on the mean spectrum
- Parameters
- self: type
description
- event: matplotlib.MouseEvent
the mouse event
- update(self)¶
Update the image after event.
- Parameters
- self: type
description