-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_s_h_8h.html
260 lines (252 loc) · 29.9 KB
/
_s_h_8h.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!-- HTML header for doxygen 1.8.11-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<title>MRtrix: core/math/SH.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><a href=http://www.mrtrix.org><img alt="Logo" src="logo.png"/></a></td>
<td id="projectalign" style="padding-left: 2em;">
<div id="projectname">Developer documentation</div>
<div id="projectbrief">Version 3.0.3-105-gd3941f44</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function(){initNavTree('_s_h_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#namespaces">Namespaces</a> |
<a href="#define-members">Macros</a> |
<a href="#func-members">Functions</a> |
<a href="#var-members">Variables</a> </div>
<div class="headertitle"><div class="title">SH.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include "<a class="el" href="legendre_8h_source.html">math/legendre.h</a>"</code><br />
<code>#include "<a class="el" href="least__squares_8h_source.html">math/least_squares.h</a>"</code><br />
</div>
<p><a href="_s_h_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_r_1_1_math_1_1_s_h_1_1_transform.html">MR::Math::SH::Transform< ValueType ></a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_r_1_1_math_1_1_s_h_1_1_precomputed_fraction.html">MR::Math::SH::PrecomputedFraction< ValueType ></a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">used to speed up <a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">SH</a> calculation <a href="class_m_r_1_1_math_1_1_s_h_1_1_precomputed_fraction.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_r_1_1_math_1_1_s_h_1_1_precomputed_a_l.html">MR::Math::SH::PrecomputedAL< ValueType ></a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Precomputed Associated Legrendre Polynomials - used to speed up <a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">SH</a> calculation. <a href="class_m_r_1_1_math_1_1_s_h_1_1_precomputed_a_l.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_r_1_1_math_1_1_s_h_1_1a_p_s_f.html">MR::Math::SH::aPSF< ValueType ></a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">a class to hold the coefficients for an apodised point-spread function. <a href="class_m_r_1_1_math_1_1_s_h_1_1a_p_s_f.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_m_r"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_m_r.html">MR</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:namespace_m_r_1_1_math"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_m_r_1_1_math.html">MR::Math</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:namespace_m_r_1_1_math_1_1_s_h"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">MR::Math::SH</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a4ee2d519e14dc95a5ed11efa93fe465f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_h_8h.html#a4ee2d519e14dc95a5ed11efa93fe465f">MAX_DIR_CHANGE</a>   0.2</td></tr>
<tr class="separator:a4ee2d519e14dc95a5ed11efa93fe465f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5835d2253221816d4f18e65f9796d3c6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_s_h_8h.html#a5835d2253221816d4f18e65f9796d3c6">ANGLE_TOLERANCE</a>   1e-4</td></tr>
<tr class="separator:a5835d2253221816d4f18e65f9796d3c6"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga96a93012c20066bfbdb6c1a1ec1cfe15"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga96a93012c20066bfbdb6c1a1ec1cfe15">MR::Math::SH::NforL</a> (int lmax)</td></tr>
<tr class="memdesc:ga96a93012c20066bfbdb6c1a1ec1cfe15"><td class="mdescLeft"> </td><td class="mdescRight">the number of (even-degree) coefficients for the given value of <em>lmax</em> <a href="group__spherical__harmonics.html#ga96a93012c20066bfbdb6c1a1ec1cfe15">More...</a><br /></td></tr>
<tr class="separator:ga96a93012c20066bfbdb6c1a1ec1cfe15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga12049806261f71471fea43484670d8f5"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga12049806261f71471fea43484670d8f5">MR::Math::SH::index</a> (int l, int m)</td></tr>
<tr class="memdesc:ga12049806261f71471fea43484670d8f5"><td class="mdescLeft"> </td><td class="mdescRight">compute the index for coefficient (l,m) <a href="group__spherical__harmonics.html#ga12049806261f71471fea43484670d8f5">More...</a><br /></td></tr>
<tr class="separator:ga12049806261f71471fea43484670d8f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8bc0c976c67b9eb91e2dfd71bede4fe1"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga8bc0c976c67b9eb91e2dfd71bede4fe1">MR::Math::SH::NforL_mpos</a> (int lmax)</td></tr>
<tr class="memdesc:ga8bc0c976c67b9eb91e2dfd71bede4fe1"><td class="mdescLeft"> </td><td class="mdescRight">same as <a class="el" href="group__spherical__harmonics.html#ga96a93012c20066bfbdb6c1a1ec1cfe15" title="the number of (even-degree) coefficients for the given value of lmax">NforL()</a>, but consider only non-negative orders <em>m</em> <a href="group__spherical__harmonics.html#ga8bc0c976c67b9eb91e2dfd71bede4fe1">More...</a><br /></td></tr>
<tr class="separator:ga8bc0c976c67b9eb91e2dfd71bede4fe1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5296aa18ca79b9a88a46cee00c47667a"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga5296aa18ca79b9a88a46cee00c47667a">MR::Math::SH::index_mpos</a> (int l, int m)</td></tr>
<tr class="memdesc:ga5296aa18ca79b9a88a46cee00c47667a"><td class="mdescLeft"> </td><td class="mdescRight">same as <a class="el" href="group__spherical__harmonics.html#ga12049806261f71471fea43484670d8f5" title="compute the index for coefficient (l,m)">index()</a>, but consider only non-negative orders <em>m</em> <a href="group__spherical__harmonics.html#ga5296aa18ca79b9a88a46cee00c47667a">More...</a><br /></td></tr>
<tr class="separator:ga5296aa18ca79b9a88a46cee00c47667a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga28d9e09433f42e5036ec45ed6e7806bf"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga28d9e09433f42e5036ec45ed6e7806bf">MR::Math::SH::LforN</a> (int N)</td></tr>
<tr class="memdesc:ga28d9e09433f42e5036ec45ed6e7806bf"><td class="mdescLeft"> </td><td class="mdescRight">returns the largest <em>lmax</em> given <em>N</em> parameters <a href="group__spherical__harmonics.html#ga28d9e09433f42e5036ec45ed6e7806bf">More...</a><br /></td></tr>
<tr class="separator:ga28d9e09433f42e5036ec45ed6e7806bf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac81b86466a7e80070f5161be93cebd6a"><td class="memTemplParams" colspan="2">template<class MatrixType > </td></tr>
<tr class="memitem:gac81b86466a7e80070f5161be93cebd6a"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="core_2eigen__plugins_2matrix_8h.html#a0dbfdb5c21751ef81e4f7d5173bf4705">Eigen::Matrix</a>< typename MatrixType::Scalar, Eigen::Dynamic, Eigen::Dynamic > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#gac81b86466a7e80070f5161be93cebd6a">MR::Math::SH::init_transform</a> (const MatrixType &dirs, const int lmax)</td></tr>
<tr class="memdesc:gac81b86466a7e80070f5161be93cebd6a"><td class="mdescLeft"> </td><td class="mdescRight">form the SH->amplitudes matrix <a href="group__spherical__harmonics.html#gac81b86466a7e80070f5161be93cebd6a">More...</a><br /></td></tr>
<tr class="separator:gac81b86466a7e80070f5161be93cebd6a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga38a57752a9e47b22f391d7952a24e91e"><td class="memTemplParams" colspan="2">template<class MatrixType > </td></tr>
<tr class="memitem:ga38a57752a9e47b22f391d7952a24e91e"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="core_2eigen__plugins_2matrix_8h.html#a0dbfdb5c21751ef81e4f7d5173bf4705">Eigen::Matrix</a>< typename MatrixType::Scalar, Eigen::Dynamic, Eigen::Dynamic > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga38a57752a9e47b22f391d7952a24e91e">MR::Math::SH::init_transform_cart</a> (const MatrixType &dirs, const int lmax)</td></tr>
<tr class="memdesc:ga38a57752a9e47b22f391d7952a24e91e"><td class="mdescLeft"> </td><td class="mdescRight">form the SH->amplitudes matrix <a href="group__spherical__harmonics.html#ga38a57752a9e47b22f391d7952a24e91e">More...</a><br /></td></tr>
<tr class="separator:ga38a57752a9e47b22f391d7952a24e91e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga301ff6a6409f78ce405d2ed51f2bdbde"><td class="memTemplParams" colspan="2">template<class MatrixType , class VectorType > </td></tr>
<tr class="memitem:ga301ff6a6409f78ce405d2ed51f2bdbde"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga301ff6a6409f78ce405d2ed51f2bdbde">MR::Math::SH::scale_degrees_forward</a> (MatrixType &SH2amp_mapping, const VectorType &coefs)</td></tr>
<tr class="memdesc:ga301ff6a6409f78ce405d2ed51f2bdbde"><td class="mdescLeft"> </td><td class="mdescRight">scale the coefficients of each <a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">SH</a> degree by the corresponding value in <em>coefs</em> <a href="group__spherical__harmonics.html#ga301ff6a6409f78ce405d2ed51f2bdbde">More...</a><br /></td></tr>
<tr class="separator:ga301ff6a6409f78ce405d2ed51f2bdbde"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga24a1163b39e02424abbe3ed456bb0a1c"><td class="memTemplParams" colspan="2">template<typename MatrixType , class VectorType > </td></tr>
<tr class="memitem:ga24a1163b39e02424abbe3ed456bb0a1c"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga24a1163b39e02424abbe3ed456bb0a1c">MR::Math::SH::scale_degrees_inverse</a> (MatrixType &amp2SH_mapping, const VectorType &coefs)</td></tr>
<tr class="memdesc:ga24a1163b39e02424abbe3ed456bb0a1c"><td class="mdescLeft"> </td><td class="mdescRight">scale the coefficients of each <a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">SH</a> degree by the corresponding value in <em>coefs</em> <a href="group__spherical__harmonics.html#ga24a1163b39e02424abbe3ed456bb0a1c">More...</a><br /></td></tr>
<tr class="separator:ga24a1163b39e02424abbe3ed456bb0a1c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf710913e46f5cbefa76894d6135aef4c"><td class="memTemplParams" colspan="2">template<typename VectorType > </td></tr>
<tr class="memitem:gaf710913e46f5cbefa76894d6135aef4c"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="core_2eigen__plugins_2matrix_8h.html#a0dbfdb5c21751ef81e4f7d5173bf4705">Eigen::Matrix</a>< typename VectorType::Scalar, Eigen::Dynamic, 1 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#gaf710913e46f5cbefa76894d6135aef4c">MR::Math::SH::invert</a> (const VectorType &coefs)</td></tr>
<tr class="memdesc:gaf710913e46f5cbefa76894d6135aef4c"><td class="mdescLeft"> </td><td class="mdescRight">invert any non-zero coefficients in <em>coefs</em> <a href="group__spherical__harmonics.html#gaf710913e46f5cbefa76894d6135aef4c">More...</a><br /></td></tr>
<tr class="separator:gaf710913e46f5cbefa76894d6135aef4c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac405578b4137cf1c22a0cf646d260b05"><td class="memTemplParams" colspan="2">template<class VectorType > </td></tr>
<tr class="memitem:gac405578b4137cf1c22a0cf646d260b05"><td class="memTemplItemLeft" align="right" valign="top">VectorType::Scalar </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#gac405578b4137cf1c22a0cf646d260b05">MR::Math::SH::value</a> (const VectorType &coefs, typename VectorType::Scalar cos_elevation, typename VectorType::Scalar cos_azimuth, typename VectorType::Scalar sin_azimuth, int lmax)</td></tr>
<tr class="separator:gac405578b4137cf1c22a0cf646d260b05"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7516a6376d493b95726c8c41ee8ecd84"><td class="memTemplParams" colspan="2">template<class VectorType > </td></tr>
<tr class="memitem:ga7516a6376d493b95726c8c41ee8ecd84"><td class="memTemplItemLeft" align="right" valign="top">VectorType::Scalar </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga7516a6376d493b95726c8c41ee8ecd84">MR::Math::SH::value</a> (const VectorType &coefs, typename VectorType::Scalar cos_elevation, typename VectorType::Scalar azimuth, int lmax)</td></tr>
<tr class="separator:ga7516a6376d493b95726c8c41ee8ecd84"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9a848ad288e26cd2bdf74da968ea14cd"><td class="memTemplParams" colspan="2">template<class VectorType1 , class VectorType2 > </td></tr>
<tr class="memitem:ga9a848ad288e26cd2bdf74da968ea14cd"><td class="memTemplItemLeft" align="right" valign="top">VectorType1::Scalar </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga9a848ad288e26cd2bdf74da968ea14cd">MR::Math::SH::value</a> (const VectorType1 &coefs, const VectorType2 &unit_dir, int lmax)</td></tr>
<tr class="separator:ga9a848ad288e26cd2bdf74da968ea14cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga52bc9df51a5f151972235a9a0df09c51"><td class="memTemplParams" colspan="2">template<class VectorType1 , class VectorType2 > </td></tr>
<tr class="memitem:ga52bc9df51a5f151972235a9a0df09c51"><td class="memTemplItemLeft" align="right" valign="top">VectorType1 & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga52bc9df51a5f151972235a9a0df09c51">MR::Math::SH::delta</a> (VectorType1 &delta_vec, const VectorType2 &unit_dir, int lmax)</td></tr>
<tr class="separator:ga52bc9df51a5f151972235a9a0df09c51"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae4d9b83d1a1e715d2faebceaf79c559a"><td class="memTemplParams" colspan="2">template<class VectorType1 , class VectorType2 > </td></tr>
<tr class="memitem:gae4d9b83d1a1e715d2faebceaf79c559a"><td class="memTemplItemLeft" align="right" valign="top">VectorType1 & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#gae4d9b83d1a1e715d2faebceaf79c559a">MR::Math::SH::SH2RH</a> (VectorType1 &RH, const VectorType2 &sh)</td></tr>
<tr class="separator:gae4d9b83d1a1e715d2faebceaf79c559a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaac9cc994993087db75c3ac3af4afcbf9"><td class="memTemplParams" colspan="2">template<class VectorType > </td></tr>
<tr class="memitem:gaac9cc994993087db75c3ac3af4afcbf9"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="core_2eigen__plugins_2matrix_8h.html#a0dbfdb5c21751ef81e4f7d5173bf4705">Eigen::Matrix</a>< typename VectorType::Scalar, Eigen::Dynamic, 1 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#gaac9cc994993087db75c3ac3af4afcbf9">MR::Math::SH::SH2RH</a> (const VectorType &sh)</td></tr>
<tr class="separator:gaac9cc994993087db75c3ac3af4afcbf9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3f0ca8fb7a027f28cf4360d4c81cec04"><td class="memTemplParams" colspan="2">template<class VectorType1 , class VectorType2 > </td></tr>
<tr class="memitem:ga3f0ca8fb7a027f28cf4360d4c81cec04"><td class="memTemplItemLeft" align="right" valign="top">VectorType1 & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga3f0ca8fb7a027f28cf4360d4c81cec04">MR::Math::SH::sconv</a> (VectorType1 &sh, const VectorType2 &RH)</td></tr>
<tr class="memdesc:ga3f0ca8fb7a027f28cf4360d4c81cec04"><td class="mdescLeft"> </td><td class="mdescRight">perform spherical convolution, in place <a href="group__spherical__harmonics.html#ga3f0ca8fb7a027f28cf4360d4c81cec04">More...</a><br /></td></tr>
<tr class="separator:ga3f0ca8fb7a027f28cf4360d4c81cec04"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5ce9a41648fd661144c2abe953f3ff89"><td class="memTemplParams" colspan="2">template<class VectorType1 , class VectorType2 , class VectorType3 > </td></tr>
<tr class="memitem:ga5ce9a41648fd661144c2abe953f3ff89"><td class="memTemplItemLeft" align="right" valign="top">VectorType1 & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga5ce9a41648fd661144c2abe953f3ff89">MR::Math::SH::sconv</a> (VectorType1 &C, const VectorType2 &RH, const VectorType3 &sh)</td></tr>
<tr class="memdesc:ga5ce9a41648fd661144c2abe953f3ff89"><td class="mdescLeft"> </td><td class="mdescRight">perform spherical convolution <a href="group__spherical__harmonics.html#ga5ce9a41648fd661144c2abe953f3ff89">More...</a><br /></td></tr>
<tr class="separator:ga5ce9a41648fd661144c2abe953f3ff89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa0311aadd5154d4d23d2cdaa29532bac"><td class="memTemplParams" colspan="2">template<class MatrixType1 , class VectorType2 > </td></tr>
<tr class="memitem:gaa0311aadd5154d4d23d2cdaa29532bac"><td class="memTemplItemLeft" align="right" valign="top">MatrixType1 & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#gaa0311aadd5154d4d23d2cdaa29532bac">MR::Math::SH::sconv_mat</a> (MatrixType1 &sh, const VectorType2 &RH)</td></tr>
<tr class="memdesc:gaa0311aadd5154d4d23d2cdaa29532bac"><td class="mdescLeft"> </td><td class="mdescRight">perform spherical convolution, in place <a href="group__spherical__harmonics.html#gaa0311aadd5154d4d23d2cdaa29532bac">More...</a><br /></td></tr>
<tr class="separator:gaa0311aadd5154d4d23d2cdaa29532bac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab875ad53d217ba8e06a79749d3901f68"><td class="memTemplParams" colspan="2">template<class VectorType , class UnitVectorType , class ValueType = float> </td></tr>
<tr class="memitem:gab875ad53d217ba8e06a79749d3901f68"><td class="memTemplItemLeft" align="right" valign="top">VectorType::Scalar </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#gab875ad53d217ba8e06a79749d3901f68">MR::Math::SH::get_peak</a> (const VectorType &sh, int lmax, UnitVectorType &unit_init_dir, PrecomputedAL< typename VectorType::Scalar > *precomputer=nullptr)</td></tr>
<tr class="memdesc:gab875ad53d217ba8e06a79749d3901f68"><td class="mdescLeft"> </td><td class="mdescRight">estimate direction & amplitude of <a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">SH</a> peak <a href="group__spherical__harmonics.html#gab875ad53d217ba8e06a79749d3901f68">More...</a><br /></td></tr>
<tr class="separator:gab875ad53d217ba8e06a79749d3901f68"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3da04937bcc39217f2c49365eb286315"><td class="memTemplParams" colspan="2">template<class VectorType > </td></tr>
<tr class="memitem:ga3da04937bcc39217f2c49365eb286315"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga3da04937bcc39217f2c49365eb286315">MR::Math::SH::derivatives</a> (const VectorType &sh, const int lmax, const typename VectorType::Scalar elevation, const typename VectorType::Scalar azimuth, typename VectorType::Scalar &amplitude, typename VectorType::Scalar &dSH_del, typename VectorType::Scalar &dSH_daz, typename VectorType::Scalar &d2SH_del2, typename VectorType::Scalar &d2SH_deldaz, typename VectorType::Scalar &d2SH_daz2, PrecomputedAL< typename VectorType::Scalar > *precomputer)</td></tr>
<tr class="memdesc:ga3da04937bcc39217f2c49365eb286315"><td class="mdescLeft"> </td><td class="mdescRight">computes first and second order derivatives of <a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">SH</a> series <a href="group__spherical__harmonics.html#ga3da04937bcc39217f2c49365eb286315">More...</a><br /></td></tr>
<tr class="separator:ga3da04937bcc39217f2c49365eb286315"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga02fbff506863d7c1a4b79eea0ac5660c"><td class="memTemplParams" colspan="2">template<class ImageType > </td></tr>
<tr class="memitem:ga02fbff506863d7c1a4b79eea0ac5660c"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#ga02fbff506863d7c1a4b79eea0ac5660c">MR::Math::SH::check</a> (const ImageType &<a class="el" href="noise__estimator_8h.html#aaebed747e975509a9b8470c6d7ba93b3">H</a>)</td></tr>
<tr class="memdesc:ga02fbff506863d7c1a4b79eea0ac5660c"><td class="mdescLeft"> </td><td class="mdescRight">convenience function to check if an input image can contain <a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">SH</a> coefficients <a href="group__spherical__harmonics.html#ga02fbff506863d7c1a4b79eea0ac5660c">More...</a><br /></td></tr>
<tr class="separator:ga02fbff506863d7c1a4b79eea0ac5660c"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:gaafe2e54ee9df648cfb1372aa7ae2fa6a"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__spherical__harmonics.html#gaafe2e54ee9df648cfb1372aa7ae2fa6a">MR::Math::SH::encoding_description</a></td></tr>
<tr class="memdesc:gaafe2e54ee9df648cfb1372aa7ae2fa6a"><td class="mdescLeft"> </td><td class="mdescRight">a string containing a description of the <a class="el" href="namespace_m_r_1_1_math_1_1_s_h.html">SH</a> storage convention <a href="group__spherical__harmonics.html#gaafe2e54ee9df648cfb1372aa7ae2fa6a">More...</a><br /></td></tr>
<tr class="separator:gaafe2e54ee9df648cfb1372aa7ae2fa6a"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a5835d2253221816d4f18e65f9796d3c6" name="a5835d2253221816d4f18e65f9796d3c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5835d2253221816d4f18e65f9796d3c6">◆ </a></span>ANGLE_TOLERANCE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ANGLE_TOLERANCE   1e-4</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_s_h_8h_source.html#l00024">24</a> of file <a class="el" href="_s_h_8h_source.html">SH.h</a>.</p>
</div>
</div>
<a id="a4ee2d519e14dc95a5ed11efa93fe465f" name="a4ee2d519e14dc95a5ed11efa93fe465f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ee2d519e14dc95a5ed11efa93fe465f">◆ </a></span>MAX_DIR_CHANGE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAX_DIR_CHANGE   0.2</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_s_h_8h_source.html#l00023">23</a> of file <a class="el" href="_s_h_8h_source.html">SH.h</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_4270bfced15e0e73154b13468c7c9ad9.html">core</a></li><li class="navelem"><a class="el" href="dir_e07ac01d65d17e829451634057f91345.html">math</a></li><li class="navelem"><a class="el" href="_s_h_8h.html">SH.h</a></li>
<li class="footer">Generated on Mon Jul 4 2022 08:00:07 for MRtrix by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3 </li>
</ul>
</div>
</body>
</html>