Dispersion script mode - analysis variables

The next part of the script is the definition of a number of analysis variables. As the example in this section is for CPMG-type experiments, the relaxation dispersion models which will be used in the auto-analysis are:

[firstnumber=14] # The dispersion models. MODELS = ['R2eff', 'No Rex', 'CR72', 'N2 CPMG 2-site expanded']

This list can be expanded to most of the 2-site exchange models, for example as:

[numbers=none] MODELS = ['R2eff', 'No Rex', 'LM63', 'CR72', 'IT99', 'TSMFK01', 'NS CPMG 2-site expanded']

But note that the selection of which models to use is incredibly important.
Do not use models which are not suitable for the data as that will cause the final results to contain rubbish.
If you have
R_{1ρ}-type off-resonance data, the models could be changed to:

[numbers=none] MODELS = ['R2eff', 'No Rex', 'DPL94', 'NS R1rho 2-site']

The next variable affects the optimisation precision:

[firstnumber=17] # The grid search size (the number of increments per dimension). GRID_INC = 21

The number of grid search increments may be decreased, but only after careful checking with a higher number of increments. Setting this value too low may place the initial optimisation too far away from the minimum. Although as-of-yet undetected and unpublished, if multiple local minima do exist then optimisation may not reach the global minimum. Too little grid search increments can also cause the total optimisation time to increase as the Nelder-Mead simplex optimisation together with the Logarithmic-barrier penalty function as used in the auto-analysis may require more time to reach the minimum.

The Monte Carlo simulation number MC_NUM variable affects the error estimate precision:

[firstnumber=20] # The number of Monte Carlo simulations to be used for error analysis at the end of the analysis. MC_NUM = 500

For accurate parameter errors this number should not be decreased. Ideally it should be increased however this will significantly increase the total analysis time. The next variable allows you to change the directory in which all results files from the auto-analysis will be saved.

[firstnumber=23] # The results directory. RESULTS_DIR = '.'

The MODSEL variable defines how the best dispersion model for the measured data is chosen:

[firstnumber=26] # The model selection technique to use. MODSEL = 'AIC'

For the automated analysis, currently only AIC, AICc, and BIC are supported. For details about these frequentist model selection techniques and their application to NMR data, see d'Auvergne and Gooley (2003). Post-analysis comparisons can also be preformed if desired. The NUMERIC_ONLY variable can be used to choose if only numeric or all models will be used in the model selection for the final results:

[firstnumber=29] # The flag for only using numeric models in the final model selection. NUMERIC_ONLY = False

To only use numeric models in the model selection while allowing models such as 'CR72' to be optimised and used as the starting point for the numeric models, change this variable to:

[numbers=none] NUMERIC_ONLY = True

The last variable allows spins with insignificant dispersion profiles to be deselected:

[firstnumber=32] # The R2eff value in rad/s by which to judge insignificance. If the maximum difference between two points on all dispersion curves for a spin is less than this value, that spin will be deselected. INSIGNIFICANCE = 1.0

This is often needed due to the errors in the dispersion curves being underestimated, hence the 'No Rex' model is not selected when clearly it should be. To use all data in the analysis, this variable should be set to 0.0.

The relax user manual (PDF), created 2019-03-08.