esmraldi.spectralviewer¶
Simple 2D viewer for MS images
Module Contents¶
Classes¶
- class esmraldi.spectralviewer.SpectralViewer(ax, ms_image, tol=0.5, **kwargs)¶
Bases:
object- onclick(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()¶
Update the image after event.
- Parameters
- self: type
description