/
shrtoc.html
134 lines (97 loc) · 5.06 KB
/
shrtoc.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>SHTOOLS - Spherical harmonic I/O and storage routines</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="../../io.html" class="dir">Spherical Harmonic I/O and Storage</a></p>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
<B>SHRTOC(1)</B> SHTOOLS 3.0 <B>SHRTOC(1)</B>
</PRE>
<H2 class="man">SHrtoc</H2 class="man"><PRE>
SHrtoc - Convert real spherical harmonics to complex form.
</PRE>
<H2 class="man">SYNOPSIS</H2 class="man"><PRE>
SUBROUTINE SHrtoc ( RCILM, CCILM, DEGMAX, CONVENTION, SWITCHCS )
REAL*8 RCILM(2, *, *), CCILM(2, *, *)
INTEGER, OPTIONAL DEGMAX, CONVENTION, SWITCHCS
</PRE>
<H2 class="man">DESCRIPTION</H2 class="man"><PRE>
<B>SHrtoc</B> will convert real spherical harmonics to complex form. By
default, the dimension of the output array is the minimum of RCILM and
CCILM, though this can be changed by specifying the optional parameter
DEGMAX. The normalization of the input and output coefficients are by
default the same, but if the optional argument CONVENTION is set to 2,
this routine will convert from geodesy 4-pi normalized coefficients to
orthonormalized coefficients. The Condon-Shortley phase convention
between the input an output coefficients can be modified by the
optional argument SWITCHCS.
</PRE>
<H2 class="man">ARGUMENTS</H2 class="man"><PRE>
RCILM (input) REAL*8, DIMENSION (2, *, *)
The input real spherical harmonic coefficients.
RCILM(1, *, *) and RCILM(2, *, *) correspond to the COS
and SIN terms, respectively.
CCILM (output) REAL*8, DIMENSION (2, *, *)
The output complex spherical harmonic coefficients.
CCILM(1, *, *) and CCILM(2, *, *) correspond to the real
and complex part of the coefficients, respectively. Only
the positive angular orders are output; the negative
orders can be calculated from the relation C_{l-m} =
(-1)^m C_{lm}^*.
DEGMAX (input) INTEGER, OPTIONAL
The maximum degree of the output coefficients. By default,
the dimension of the output coefficients will be the
smallest of RCILM and CCILM.
CONVENTION (input) INTEGER, OPTIONAL
If 1 (default), the input and output coefficients will
have the same normalization. If 2, real geodesy 4-pi
coefficients will be converted to complex orthonormal
form.
SWTICHCS (input) INTEGER, OPTIONAL
If 0 (default), the input and output coefficients will
possess the same Condon-Shortley phase convention. If 1,
the input coefficients will first be multiplied by (-1)^m.
</PRE>
<H2 class="man">SEE ALSO</H2 class="man"><PRE>
<B>shctor(1)</B>, <B>shcilmtocindex(1)</B>, <B>shcindextocilm(1)</B>
<http://shtools.ipgp.fr/>
</PRE>
<H2 class="man">COPYRIGHT AND LICENSE</H2 class="man"><PRE>
Copyright 2012 by Mark Wieczorek <wieczor@ipgp.fr>.
This is free software; you can distribute and modify it under the terms
of the revised BSD license.
SHTOOLS 3.0 2014-09-12 <B>SHRTOC(1)</B>
</PRE>
<p class="dir">
> <a href="../../../index.html" class="dir">Home</a> > <a href="../../documentation.html" class="dir">Documentation</a> > <a href="../../io.html" class="dir">Spherical Harmonic I/O</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">© 2015 <a href="http://www.ipgp.fr/~wieczor">Mark Wieczorek</a></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>