tilt_boundary_data#

pyxem.data.tilt_boundary_data(correct_pivot_point=True, spacing=20, spot_radius=7)[source]#

Create an ElectronDiffraction2D signal across a grain boundary.

Parameters:
  • correct_pivot_point (bool, optional) – If True, the direct beam will moved similarly to residual pivot point that can be observed experimentally.

  • spacing (int or tuple, optional) – The spacing between the disks in the diffraction pattern. If a single integer is provided, it will be used for both x and y directions.

  • spot_radius (int, optional) – The radius of the disks in the diffraction pattern.

Returns:

A signal of diffraction patterns across a grain boundary.

Return type:

ElectronDiffraction2D

Examples using tilt_boundary_data#

Azimuthal Integration (in Pyxem!)

Azimuthal Integration (in Pyxem!)

Background subtraction

Background subtraction

Centering the Zero Beam

Centering the Zero Beam

Circular Hough Transform Peak Finding

Circular Hough Transform Peak Finding

Filtering Data (Averaging Neighboring Patterns etc.)

Filtering Data (Averaging Neighboring Patterns etc.)

Template Matching

Template Matching

Finding Diffraction Vectors

Finding Diffraction Vectors

Diffraction Vectors to Mask

Diffraction Vectors to Mask

Operations on Vectors

Operations on Vectors

Creating a Segmented Detector

Creating a Segmented Detector