Single model-free model script mode - explanation

The above script consists of three major sections:

Loading of data
Firstly a data pipe called “m4” is created to hold all of the analysis data. Then the 15N spin system data consisting of molecule, residue, and spin information is loaded into relax from the columns of the noe.500.out file, assuming that only residue numbers and names are present and are in the first and second columns respectively. The options of this sequence.read user function allow the molecule name, residue number, residue name, spin number, or spin name columns to be specified if desired. The 15N spin is then set up using the spin user functions. The next part is to load all of the relaxation data, to set up the initial diffusion tensor, create the 1H spins required for the magnetic dipole-dipole interaction, and to set up the magnetic dipole-dipole and CSA relaxation mechanisms. Finally the model-free model “m4” is chosen.
Optimisation
The optimisation of model-free models requires an initial grid search to find a position close to the minimum, followed by the high precision Newton optimisation together with the Method of Multipliers constraint algorithm (d'Auvergne and Gooley, 2008b). Errors are propagated from the relaxation data to the model-free parameters via Monte Carlo simulations which is a multi-step process in relax (designed for flexibility and to teach how the simulations are constructed and carried out).
Data output
The last stage consists of writing out the XML formatted results file which contains all of the data in the current data pipe, as well as the XML formatted save file which contains not only the current data pipe data but all of the relax data store data. Both files can be loaded back into relax later on.

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