isotopologues#

torchspin.isotopologues(sys, n=None, abund=None, rel_threshold=DEFAULT_ISO_CUTOFF)[source]#

Expand sys into its isotopologues (list of SpinSystem with weights).

sys may also be a nucleus string ('Cu,Cu', '(63,65)Cu,1H') with optional equivalent-nucleus counts n and custom abundances abund (one array per custom mixture, None for natural ones), as in isotopologues(NucList, n, Abundances, threshold); the result is a list of minimal S=1/2 spin systems carrying Nucs, n and weight.

A system without isotope mixtures is returned unchanged in a one-element list (weight untouched). Abundances multiply sys.weight.