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:
- Raises:
SimphonyError – If the given name is not found in
spin_names.
Return the instance of the spin specified by name.
name (str) – Name of the spin.
Instance of the specified spin.
SimphonyError – If the given name is not found in spin_names.