add_interactive_line_profile#

Diffraction2D.add_interactive_line_profile(**kwargs)[source]#

Add an interactive line profile to the signal plot.

This method allows you to add a line profile to the signal plot which can be useful for measuring intensity variations along a line on the signal.

Parameters:

**kwargs (dict) – Additional keyword arguments to customize the line profile, such as ‘color’, ‘linewidth’, etc. These will be passed to Line2D