Image spin Image list-add-relax-blue


Create a new spin.


spin.create(spin_name=None, spin_num=None, res_name=None, res_num=None, mol_name=None)

Keyword arguments

spin_name: The name of the spin.

spin_num: The spin number.

res_name: The name of the residue to add the spin to.

res_num: The number of the residue to add the spin to.

mol_name: The name of the molecule to add the spin to.


This will add a new spin data container to the relax data storage object. The same spin number cannot be used more than once.

Prompt examples

The following sequence of commands will add the spins 1 C4, 2 C9, 3 C15 to residue number 10:

relax> spin.create('C4',  1, res_num=10)

relax> spin.create('C9',  2, res_num=10)

relax> spin.create('C15', 3, res_num=10)

The relax user manual (PDF), created 2020-08-26.