Difference between revisions of "Which subst.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
             subst=which_subst(spin_system,spins)
 
             subst=which_subst(spin_system,spins)
  
==Arguments==
+
==Parameters==
  
 
         spins - a list of positive integers
 
         spins - a list of positive integers

Revision as of 18:53, 5 June 2026

Finds out which substance hosts the specified spins; throws an error if there is more than one.

Syntax

            subst=which_subst(spin_system,spins)

Parameters

        spins - a list of positive integers

Outputs

        subst - a positive integer

Examples

See examples in the Spinach distribution relevant to this function.

Notes

This page was generated from the function header in the Spinach repository.

See also

Version 2.11, authors: Ilya Kuprov