/
pyshglq.html
72 lines (61 loc) · 3.48 KB
/
pyshglq.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>SHTOOLS - Spherical harmonic transformations</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../css/sh.css">
<link rel="icon" type="image/vnd.microsoft.icon" href="../../images/favicon.ico">
</head>
<body>
<div class="main">
<p class="centeredimage"><img src="../../images/logo.jpg" width=894 height=135 alt="SHTOOLS --- Tools for working with spherical harmonics"></p>
<table class="menu">
<tbody>
<tr>
<td><a href="http://shtools.ipgp.fr/">HOME</a></td>
<td><a href="https://github.com/SHTOOLS/SHTOOLS/releases">DOWNLOAD</a></td>
<td class="selected"><a href="../../documentation.html">DOCUMENTATION</a></td>
<td><a href="../../faq.html">FAQ</a> </td>
</tr>
</tbody>
</table>
<p class="dir">
> <a href="../../../index.html" class="dir">Home</a> > <a href="../../documentation.html" class="dir">Documentation</a> > <a href="../../python-routines.html" class="dir">Python</a> > <a href="../../pytransformations.html" class="dir">Spherical Harmonic Transformations</a></p>
<h1 id="shglq">SHGLQ</h1>
<p>Precompute the weights and nodes used in the Gauss-Legendre quadrature based spherical harmonics routines.</p>
<h1 id="usage">Usage</h1>
<p><code>zero</code>, <code>w</code> = pyshtools.SHGLQ (<code>lmax</code>)</p>
<h1 id="returns">Returns</h1>
<dl>
<dt><code>zero</code> : float, dimension (<code>lmax</code>+1)</dt>
<dd>The nodes used in the Gauss-Legendre quadrature over latitude, determined from a call to <code>PreGLQ</code>.
</dd>
<dt><code>w</code> : float, dimension (<code>lmax</code>+1)</dt>
<dd>The weights used in the Gauss-Legendre quadrature over latitude, determined from a call to <code>PreGLQ</code>.
</dd>
</dl>
<h1 id="parameters">Parameters</h1>
<dl>
<dt><code>lmax</code> : integer</dt>
<dd>The maximum spherical harmonic degree of the coefficients to be calculated in the Gauss-Legendre quadrature based spherical harmonic transform routines.
</dd>
</dl>
<h1 id="description">Description</h1>
<p><code>SHGLQ</code> will calculate the weights and zeros used in the Gauss-Legendre quadrature based spherical harmonic routines <code>SHExpandGLQ</code>, <code>MakeGridGLQ</code>, <code>SHExpandGLQC</code>, and <code>MakeGridGLQC</code>.</p>
<h1 id="see-also">See also</h1>
<p><a href="pyshexpandglq.html"><code>shexpandglq</code></a>, <a href="pymakegridglq.html"><code>makegridglq</code></a>, <a href="pyshexpandglqc.html"><code>shexpandglqc</code></a>, <a href="pymakegridglqc.html"><code>makegridglqc</code></a>, <a href="pyglqgridcoord.html"><code>glqgridcoord</code></a>, <a href="pypreglq.html"><code>preglq</code></a></p>
<p class="dir">
> <a href="../../../index.html" class="dir">Home</a> > <a href="../../documentation.html" class="dir">Documentation</a> > <a href="../../python-routines.html" class="dir">Python</a> > <a href="../../pytransformations.html" class="dir">Spherical Harmonic Transformations</a></p>
<table class="footer2" summary = "SHTOOLS; Fortran and Python spherical harmonic transform software package">
<tbody>
<tr>
<td class="c1"><a href="http://www.ipgp.fr/">Institut de Physique du Globe de Paris</a></td>
<td class="c2"><a href="http://www.sorbonne-paris-cite.fr/index.php/en">University of Sorbonne Paris Cité</a></td>
<td class="c3">© 2016 <a href="https://github.com/SHTOOLS">SHTOOLS</a></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>