Difference between revisions of "Isoswap.m"
m (Spot-update function page against current Spinach source) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
[sys,inter]=isoswap(sys,inter,spins,new_iso) | [sys,inter]=isoswap(sys,inter,spins,new_iso) | ||
| − | == | + | ==Parameters== |
sys, inter - Spinach input data structures | sys, inter - Spinach input data structures | ||
Revision as of 18:49, 5 June 2026
Makes isotope replacements in the input structures. All interactions are automatically scaled as necessary.
Syntax
[sys,inter]=isoswap(sys,inter,spins,new_iso)
Parameters
sys, inter - Spinach input data structures
spins - a vector of integers specifying
spin numbers
new_iso - character string specifying
the new isotope
Outputs
sys, inter - Spinach input data structures
Notes
Quadratic and higher order couplings are wiped and a warning is printed; those interactions are not transferable.
See also
Version 2.9, authors: Ilya Kuprov