simulated_constant_shift_magnitude#
- pyxem.data.simulated_constant_shift_magnitude(beam_radius=10)[source]#
Create a simulated diffraction pattern with a direct beam that is shifted by a constant magnitude across the entire pattern. In the presence of electromagnetic fields in the entire sample area, the plane fitting can fail, however by minimizing the magnitude variance, we can fit a plane to the shifts
- Parameters:
beam_radius (int, optional) – The radius of the direct beam in pixels. The default is 10.
- Returns:
probes – A simulated diffraction pattern with a direct beam that is shifted by a constant magnitude across the entire pattern.
- Return type: