magneticScattering.holography.invert_holography#

invert_holography(scatter_a, scatter_b=None)#

Inverts the scattering pattern assuming Fourier transform holography was performed.

Parameters:
scatter_aScatter

The scatter pattern to invert.

scatter_bScatter (optional)

The scatter pattern to invert for taking the difference.

Returns:
invnp.ndarray

The inverted scatter pattern.

roituple of float

The corresponding real space dimensions.