1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 """The module for the consistency testing parameter list object."""
25
26
27 from lib.physical_constants import N15_CSA
28 from specific_analyses.parameter_object import Param_list
29
30
32 """The consistency testing parameter list singleton."""
33
34
35 _instance = None
36
38 """Define all the parameters of the analysis."""
39
40
41 if self._initialised: return
42
43
44 Param_list.__init__(self)
45
46
47 self._add_csa(default=N15_CSA)
48 self._add('orientation', scope='spin', default=15.7, units='degrees', desc="Angle between the 15N-1H vector and the principal axis of the 15N chemical shift tensor", py_type=float, set='fixed', grace_string='\\q\\xq\\Q')
49 self._add('tc', scope='spin', default=13 * 1e-9, units='ns', desc="The single global correlation time estimate/approximation", py_type=float, set='fixed', grace_string='\\q\\xt\\f{}c\\Q')
50
51
52 self._add('j0', scope='spin', desc='Spectral density value at 0 MHz (from Farrow et al. (1995) JBNMR, 6: 153-162)', py_type=float, set='params', grace_string='\\qJ(0)\\Q', err=True, sim=True)
53 self._add('f_eta', scope='spin', desc='Eta-test (from Fushman et al. (1998) JACS, 120: 10947-10952)', py_type=float, set='params', grace_string='\\qF\\s\\xh\\Q', err=True, sim=True)
54 self._add('f_r2', scope='spin', desc='R2-test (from Fushman et al. (1998) JACS, 120: 10947-10952)', py_type=float, set='params', grace_string='\\qF\\sR2\\Q', err=True, sim=True)
55
56
57 self._set_uf_title("Consistency testing parameters")
58 self._uf_param_table(label="table: consistency testing parameters", caption="Consistency testing parameters.")
59 self._uf_param_table(label="table: consistency testing parameter value setting", caption="Consistency testing parameters.")
60 self._uf_param_table(label="table: consistency testing parameter value setting with defaults", caption="Consistency testing parameter value setting.", default=True)
61
62
63 for doc in self._uf_doc_loop(["table: consistency testing parameter value setting", "table: consistency testing parameter value setting with defaults"]):
64 doc.add_paragraph("In consistency testing, the CSA value, angle Theta ('orientation') and global correlation time must be set prior to the calculation of consistency functions.")
65