SINFONI Pipeline Reference Manual  2.6.0
sinfo_fft_base.h
1 /*
2  * This file is part of the ESO SINFONI Pipeline
3  * Copyright (C) 2004,2005 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
18  */
19 /*---------------------------------------------------------------------------
20  File name : sinfo_sinfo_fft_base.h
21  Author : N. Devillard
22  Created on : October 1999
23  Description : base FFT routines
24  *--------------------------------------------------------------------------*/
25 /*
26  $Id: sinfo_fft_base.h,v 1.6 2007-06-06 07:10:45 amodigli Exp $
27  $Author: amodigli $
28  $Date: 2007-06-06 07:10:45 $
29  $Revision: 1.6 $
30 */
31 #ifndef SINFO_FFT_BASE_H
32 #define SINFO_FFT_BASE_H
33 /*---------------------------------------------------------------------------
34  Includes
35  ---------------------------------------------------------------------------*/
36 #include <math.h>
37 #include "cpl.h"
38 #include "sinfo_local_types.h"
39 /*---------------------------------------------------------------------------
40  New types
41  ---------------------------------------------------------------------------*/
42 /*---------------------------------------------------------------------------
43  Defines
44  ---------------------------------------------------------------------------*/
45 #define FFT_FORWARD 1
46 #define FFT_INVERSE -1
47 /*---------------------------------------------------------------------------
48  Function codes
49  ---------------------------------------------------------------------------*/
91 void
92 sinfo_fftn(
93  dcomplex data[],
94  unsigned nn[],
95  int ndim,
96  int isign);
97 
113 int sinfo_is_power_of_2(int p);
114 
115 
116 #endif
117 /*--------------------------------------------------------------------------*/
118