<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>
	<title>SHTOOLS - Examples</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="CSS/sh.css">
	<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="Figures/favicon.ico">
	<link rel="icon" type="image/vnd.microsoft.icon" href="Figures/favicon.ico">
	<meta name="description" content="Example programs using SHTOOLS">
</head>

<body>

<div class="main">

	<p class="centeredimage"><img src="Figures/logo.jpg" width=694 height=115 alt="SHTOOLS --- Tools for working with spherical harmonics"></p>
    	
	<table class="menu">
		<tbody>
			<tr>
				<td><a href="http://www.ipgp.fr/~wieczor/SHTOOLS/SHTOOLS.html">HOME</a></td>
				<td><a href="download.html">DOWNLOAD</a></td>
				<td class="selected"><a href="documentation.html">DOCUMENTATION</a></td>
				<td><a href="http://groups.google.com/group/SHTOOLS">FORUM</a></td>
				<td><a href="faq.html">FAQ</a> </td>
			</tr>
		</tbody>
	</table>

	<p class="dir">
>  <a href="../SHTOOLS.html" class="dir">Home</a> > <a href="documentation.html" class="dir">Documentation</a> </p>
		

		<p><b>The following example programs can be found in the SHTOOLS subdirectory <tt>examples</tt>.</b></p>
				
	<table class="main">
		<tbody>
		<tr>
		<td class="left"><a name="cilmplus"></a>SHCilmPlus</td>
		<td class="right">This program demonstrates how to expand spherical harmonic files into gridded maps using the GLQ routines, and how to compute the gravity field resulting from finite amplitude surface relief. The effects of aliasing are given special attention.</td>
		</tr>

		<tr>
		<td class="left"><a name="expanddh"></a>SHExpandDH</td>
		<td>This program demonstrates how to expand a grid that is equally sampled in latitude and longitude into spherical harmonics using the sampling theorem of <i>Driscoll and Healy</i> (1994).</td>
		</tr>	

		<tr>
		<td class="left"><a name="expandlsq"></a>SHExpandLSQ</td>
		<td>This program demonstrates how to expand a set of irregularly sampled data points in latitude and longitude into spherical harmonics by use of a least squares inversion.
		</td>
		</tr>

		<tr>
		<td class="left"><a name="shmag"></a>SHMag</td>
		<td>This program demonstrates how to expand a magnetic spherical harmonic file into its three vector components and total field.
		</td>
		</tr>	

		<tr>
		<td class="left"><a name="marscrust"></a>MarsCrustalThickness</td>
		<td>This program calculates a crustal thickness map of Mars given a variety of user inputs.
		</td>
		</tr>	

		<tr>
		<td class="left"><a name="shrotate"></a>SHRotate</td>
		<td>This program demonstrates how to determine the spherical harmonic coefficients for a body that is rotated with respect to its initial configuration.
		</td>
		</tr>		
		
		<tr>
		<td class="left"><a name="localized"></a>SHLocalizedAdmitCorr</td>
		<td>This program demonstrates how to calculate localized admittance and correlation spectra for a given set of gravity and topography spherical harmonic coefficients.
		</td>
		</tr>	

		<tr>
		<td class="left"><a name="timing"></a>TimingAccuracy</td>
		<td>These programs calculate (1) the time required to perform the GLQ and DH spherical harmonic transforms and reconstructions and (2) the accuracy of these operations.
		</td>
		</tr>	

		<tr>
		<td class="left"><a name="fftw"></a>fftw_wisdom</td>
		<td>This program demonstrates how to create an FFTW wisdom file that might help to speed up the Fourier transform calls.
		</td>
		</tr>	
		</tbody>
	</table>
		
	<p class="dir">
>  <a href="../SHTOOLS.html" class="dir">Home</a> > <a href="documentation.html" class="dir">Documentation</a> </p>

	<table class="footer2" summary = "Mark Wieczorek">
	<tbody>
		<tr>
			<td class="c1"><a href="http://www.cnrs.fr/">Centre National de la Recherche Scientifique</a></td>
			<td class="c2"><a href="http://www.ipgp.fr/">Institut de Physique du Globe de Paris</a></td>
			<td class="c3">&copy; 2011 <a href="http://www.ipgp.fr/~wieczor">Mark Wieczorek</a></td>
		</tr>
	</tbody>
	</table>
	
</div>

</body>
</html>
