magpack.structures.skyrmion#
- skyrmion(nx, ny, number=1, helicity=0, polarity=1, neel=False)#
Creates a skyrmion texture of size (nx, ny).
- Parameters:
- nx, nyint
Size of the skyrmion texture in the x and y directions.
- numberfloat (optional)
Skyrmion topological number.
- helicityfloat (optional)
Helicity of the skyrmion (angular offset at each lattice site in radians).
- polarityint (optional)
Direction of central spin (±1).
- neelbool (optional)
Neel or Bloch skyrmion.
- Returns:
- np.ndarray
Magnetization vector field of a skyrmion.