1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 """The module for the reduced spectral density mapping parameter list object."""
24
25
26 from lib.physical_constants import N15_CSA
27 from specific_analyses.parameter_object import Param_list
28
29
31 """The reduced spectral density mapping parameter list singleton."""
32
33
34 _instance = None
35
37 """Define all the parameters of the analysis."""
38
39
40 if self._initialised: return
41
42
43 Param_list.__init__(self)
44
45
46 self._add_csa(default=N15_CSA)
47
48
49 self._add('j0', scope='spin', string='J(0)', desc='Spectral density value at 0 MHz - J(0)', py_type=float, set='params', grace_string='\\qJ(0)\\Q', err=True, sim=True)
50 self._add('jwx', scope='spin', string='J(wX)', desc='Spectral density value at the frequency of the heteronucleus - J(wX)', py_type=float, set='params', grace_string='\\qJ(\\xw\\f{}\\sX\\N)\\Q', err=True, sim=True)
51 self._add('jwh', scope='spin', string='J(wH)', desc='Spectral density value at the frequency of the proton - J(wH)', py_type=float, set='params', grace_string='\\qJ(\\xw\\f{}\\sH\\N)\\Q', err=True, sim=True)
52
53
54 self._set_uf_title("Reduced spectral density mapping parameters")
55 self._uf_param_table(label="table: J(w) parameters", caption="Reduced spectral density mapping parameters.")
56 self._uf_param_table(label="table: J(w) parameter value setting", caption="Reduced spectral density mapping parameters.")
57 self._uf_param_table(label="table: J(w) parameter value setting with defaults", caption="Reduced spectral density mapping parameter value setting.", default=True)
58
59
60 for doc in self._uf_doc_loop(["table: J(w) parameter value setting", "table: J(w) parameter value setting with defaults"]):
61 doc.add_paragraph("In reduced spectral density mapping, the CSA value must be set prior to the calculation of spectral density values.")
62