simulated_pn_junction#

pyxem.data.simulated_pn_junction(beam_shifts=None)[source]#

Create a simulated p-n junction diffraction pattern with alternating stripes.

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

Examples using simulated_pn_junction#

Electric Field Mapping

Electric Field Mapping