magneticScattering.plot.difference#

difference(scatter_a, scatter_b, log=False, cmap='Spectral', **kwargs)#

Plot the difference between two scattering patterns.

Parameters:
scatter_a, scatter_bScatter

The classes containing the two patterns for which the difference will be plotted.

logbool (optional)

Boolean choice to plot in log scale.

cmapstr (optional)

Color map to use.

Other Parameters:
kwargsdict

Keyword arguments for matplotlib imshow.

Parameters:
Return type:

None