magneticScattering.plot.intensity_interactive#
- intensity_interactive(scatter, log=False, **kwargs)#
Interactive plot of the intensity difference that can be used for selecting regions to view in higher resolution.
- Parameters:
- scatterScatter
The scatter class to plot the intensity for.
- logbool (optional)
Boolean choice to plot in log scale.
- Returns:
- 4-tuple of floats
The interactively-selected region of interest coordinates.
- Other Parameters:
- kwargsdict
Keyword arguments for matplotlib imshow.
- Parameters:
scatter (Scatter)
log (bool)
- Return type:
tuple[float, float, float, float]