Difference between revisions of "Isoswap.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Spot-update function page against current Spinach source)
Line 19: Line 19:
  
 
     sys, inter  - Spinach input data structures
 
     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==
 
==See also==

Revision as of 15:53, 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)

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

Notes

Quadratic and higher order couplings are wiped and a warning is printed; those interactions are not transferable.

See also

Spin system specification

Spin system editing

Version 2.9, authors: Ilya Kuprov