simulated_stripes#
- pyxem.data.simulated_stripes(beam_shifts=None)[source]#
Create a simulated diffraction pattern with stripes for showing magnetic DPC.
- Parameters:
shifts (array_like, optional) – The shifts to apply to the direct beam. The default is None which corresponds to a shift of [[3, 3], [-3,3]] for the alternating stripes.
- Returns:
diffraction_pattern – A simulated diffraction pattern with the direct beam shifted by .
- Return type:
Signal2D