magnopy.experimental.change_cell#

magnopy.experimental.change_cell(spinham, new_cell, new_atoms_specs)[source]#
Parameters:
spinhamSpinHamiltonian
new_cell(3, 3) array-like
new_atoms_specslist of tuple

..code-block:: python

new_atoms_specs = [(index, nu), ]

where index is an index of an atom in spinham.atoms and nu = (i,j,k) is the unit cell to which an atom belongs.

Returns:
new_spinham