spin

Model.spin(name)

Return the instance of the spin specified by name.

Parameters:

name (str) – Name of the spin.

Returns:

Instance of the specified spin.

Return type:

Spin

Raises:

SimphonyError – If the given name is not found in spin_names.