Check out the Hyperspy Workshop May 13-17, 2024 Online

add_navigation_signal#

CommonDiffraction.add_navigation_signal(data, name='nav1', unit=None, nav_plot=False)[source]#

Adds in a navigation signal to the metadata. Any type of navigation signal is acceptable.

Parameters:
  • data (np.array) – The data for the navigation signal. Should be the same size as the navigation axis.

  • name (str) – The name of the axis.

  • unit (str) – The units for the intensity of the plot. e.g ‘nm’ for thickness.