Difference between revisions of "Isoswap.m"
(Created page with "{{DISPLAYTITLE:isoswap.m}} __NOTOC__ Makes isotope replacements in the input structures. All interactions are automatically scaled as necessary. ==Syntax== [sys,inter]=...") |
(Sync syntax/arguments/outputs with current Spinach source) |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:isoswap.m}} __NOTOC__ | {{DISPLAYTITLE:isoswap.m}} __NOTOC__ | ||
| + | |||
Makes isotope replacements in the input structures. All interactions are automatically scaled as necessary. | Makes isotope replacements in the input structures. All interactions are automatically scaled as necessary. | ||
==Syntax== | ==Syntax== | ||
| − | + | [sys,inter]=isoswap(sys,inter,spins,new_iso) | |
==Arguments== | ==Arguments== | ||
| − | + | sys, inter - Spinach input data structures | |
spins - a vector of integers specifying | spins - a vector of integers specifying | ||
| Line 18: | Line 19: | ||
==Outputs== | ==Outputs== | ||
| − | + | sys, inter - Spinach input data structures | |
| + | |||
| + | Note: quadratic and higher order couplings are wiped and a warning | ||
| + | is printed - those are not transferable. | ||
| + | |||
| + | ilya.kuprov@weizmann.ac.il | ||
==See also== | ==See also== | ||
| + | |||
[[Spin system specification]] | [[Spin system specification]] | ||
Revision as of 15:06, 5 April 2026
Makes isotope replacements in the input structures. All interactions are automatically scaled as necessary.
Syntax
[sys,inter]=isoswap(sys,inter,spins,new_iso)
Arguments
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
Note: quadratic and higher order couplings are wiped and a warning
is printed - those are not transferable.
ilya.kuprov@weizmann.ac.il
See also
Version 2.9, authors: Ilya Kuprov