magpack.structures#

Functions

bloch_point

Creates a Bloch point topological defect.

checkerboard

Creates a checkerboard array of alternating +1 and -1 for the given shape.

circ_mask

Defines a circular binary mask.

create_mesh

Creates an N-dimensional mesh with the specified dimensions.

domain_generator

Generates Voronoi domains with random orientations.

domain_wall

Creates a 2D magnetic domain wall.

meron

Creates a magnetic meron.

meron_pair

Creates a meron-antimeron pair.

skyrmion

Creates a skyrmion texture of size (nx, ny).

stack_config

Stacks 2D slices to form a 3D structure.

vortex

Creates a 2D magnetization vortex.