which_subst.m

From Spinach Documentation Wiki
Revision as of 20:51, 22 February 2026 by Kuprov (talk | contribs) (Fix lead description from MATLAB header (folding/hyphenation pass))
Jump to: navigation, search

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

Syntax

            subst=which_subst(spin_system,spins)

Arguments

        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