sinfo_fft_base.h

00001 /*
00002  * This file is part of the ESO SINFONI Pipeline
00003  * Copyright (C) 2004,2005 European Southern Observatory
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00018  */
00019 /*---------------------------------------------------------------------------
00020    File name     :    sinfo_sinfo_fft_base.h
00021    Author         :    N. Devillard
00022    Created on    :    October 1999
00023    Description    :    base FFT routines
00024  *--------------------------------------------------------------------------*/
00025 /*
00026     $Id: sinfo_fft_base.h,v 1.6 2007/06/06 07:10:45 amodigli Exp $
00027     $Author: amodigli $
00028     $Date: 2007/06/06 07:10:45 $
00029     $Revision: 1.6 $
00030 */
00031 #ifndef SINFO_FFT_BASE_H
00032 #define SINFO_FFT_BASE_H
00033 /*---------------------------------------------------------------------------
00034                                    Includes
00035  ---------------------------------------------------------------------------*/
00036 #include <math.h>
00037 #include "cpl.h"
00038 #include "sinfo_local_types.h"
00039 /*---------------------------------------------------------------------------
00040                                    New types
00041  ---------------------------------------------------------------------------*/
00042 /*---------------------------------------------------------------------------
00043                                    Defines
00044  ---------------------------------------------------------------------------*/
00045 #define FFT_FORWARD         1
00046 #define FFT_INVERSE        -1
00047 /*---------------------------------------------------------------------------
00048                               Function codes
00049  ---------------------------------------------------------------------------*/
00091 void
00092 sinfo_fftn(
00093     dcomplex data[],
00094     unsigned nn[],
00095     int ndim, 
00096     int isign);
00097 
00113 int sinfo_is_power_of_2(int p);
00114 
00115 
00116 #endif
00117 /*--------------------------------------------------------------------------*/
00118 

Generated on 3 Mar 2013 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1