magnopy.experimental.change_cell#
- magnopy.experimental.change_cell(spinham, new_cell, new_atoms_specs)[source]#
- Parameters:
- spinham
SpinHamiltonian - new_cell(3, 3) array-like
- new_atoms_specslist of tuple
..code-block:: python
new_atoms_specs = [(index, nu), ]
where
indexis an index of an atom inspinham.atomsandnu = (i,j,k)is the unit cell to which an atom belongs.
- spinham
- Returns:
- new_spinham