The steps for setting up relax and the data model concept are described in full detail in Chapter 4. The first step, as for all analyses in relax, is to create a data pipe for storing all the data:
[firstnumber=31] # Create the data pipe. name = 'consistency' pipe.create(name, 'ct')
Then, in this example, the 15N spins are created from one of the NOE relaxation data files (Chapter 6):
[firstnumber=35] # Set up the 15N spins. sequence.read('noe.600.out', res_num_col=1) spin.name(name='N') spin.element(element='N') spin.isotope(isotope='15N', spin_id='@N')
Skipping the relaxation data loading, the next part of the analysis is to create protons attached to the nitrogens for the magnetic dipole-dipole relaxation interaction:
[firstnumber=46] # Generate the 1H spins for the magnetic dipole-dipole interaction. sequence.attach_protons()
This is needed to define the magnetic dipole-dipole interaction which governs relaxation.
The relax user manual (PDF), created 2016-10-28.