plot_on_signal#

BeamShift.plot_on_signal(signal, **kwargs)[source]#

Plot the beam shifts on top of a signal.

Parameters:
  • signal (HyperSpy Signal2D) – The signal to plot the beam shifts on top of.

  • **kwargs (dict) – Additional keyword arguments to pass to the marker.

Return type:

None

Examples

>>> import pyxem as pxm
>>> s = pxm.data.tilt_boundary_data(correct_pivot_point=False)
>>> shifts = s.get_beam_shift_signal(method="blur", sigma=5)
>>> shifts.plot_on_signal(s)