spin

Model.spin(name)

Return the instance of the spin specified by name.

Parameters:

name (str) – Name of the spin.

Return type:

BaseSpin

Returns:

Instance of the specified spin.

Raises:

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