magneticScattering.structures.circle_mask#
- circle_mask(structure)#
Masks the structure with a circle of radius equal to the smallest dimension of the structure.
- Parameters:
structure (ndarray) – Structure to be masked.
- Returns:
Masked structure.
- Return type:
ndarray