00001 /* 00002 * Copyright (C) 2007 S.Fairhurst, B. Krishnan, L.Santamaria 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with with program; see the file COPYING. If not, write to the 00016 * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00017 * MA 02111-1307 USA 00018 */ 00019 00020 00021 /** \defgroup SphericalHarmonics 00022 * \ingroup support 00023 * \author S.Fairhurst, B. Krishnan, L.Santamaria 00024 * 00025 * \brief Library of spin-weighted Spherical Harmonic functions 00026 * 00027 00028 * 00029 */ 00030 00031 00032 00033 /* includes */ 00034 #include <stdlib.h> 00035 #include <math.h> 00036 #include <stdio.h> 00037 #include <stdlib.h> 00038 #include <string.h> 00039 #include <lal/LALStdlib.h> 00040 #include <lal/LALConstants.h> 00041 #include <lal/AVFactories.h> 00042 #include <lal/SeqFactories.h> 00043 #include <lal/LIGOMetadataTables.h> 00044 #include <lal/NRWaveIO.h> 00045 00046 #ifdef __cplusplus /* C++ protection. */ 00047 extern "C" { 00048 #endif 00049 00050 NRCSID( SPHERICALHARMONICSH, "$Id: SphericalHarmonics.h,v 1.3 2007/02/19 00:51:10 badri Exp $"); 00051 00052 /** Spin weighted Spherical Harmonic */ 00053 INT4 XLALSphHarm ( COMPLEX16 *out, UINT4 L, INT4 M, REAL4 theta, REAL4 phi ); 00054 00055 00056 00057 #ifdef __cplusplus 00058 } /* Close C++ protection */ 00059 #endif
1.5.2