Home | Develop | Download | Contact
 Todo Estructuras de Datos Funciones Variables 'typedefs' Grupos Páginas
pdsspectrograph.h
1 /*
2  * pdsspectrograph.h
3  *
4  * Copyright 2011 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  */
22 
35 #ifndef __PDSSPECTROGRAPH_H__
36 #define __PDSSPECTROGRAPH_H__
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 
43 #include <stdio.h>
44 
45 #include <pds/pdsftglobal.h>
46 #include <pds/pdscvector.h>
47 #include <pds/pdsvector.h>
48 
49 #ifndef TRUE
50  #define TRUE 1
51 #endif
52 
53 #ifndef FALSE
54  #define FALSE 0
55 #endif
56 
87 typedef struct
88 {
91 
93  PdsCVector *X;
95  PdsVector *W;
97  PdsCVector *Y;
99  PdsVector *V;
104 
108 
112 
113 
114 
115 
137 
138 
140 
153 
154 
162 
163 
171 
172 
181 
182 
184 
202 int pds_spectrograph_evaluate_real(PdsSpectrograph *SPECTROGRAPH,PdsMatrix *Out,const PdsVector *In);
203 
204 
217 int pds_spectrograph_evaluate_complex(PdsSpectrograph *SPECTROGRAPH,PdsMatrix *Out,const PdsCVector *In);
218 
219 
221 
233 void pds_spectrograph_free(PdsSpectrograph *SPECTROGRAPH);
234 
235 
242 void pds_spectrograph_destroy(PdsSpectrograph **SPECTROGRAPH);
243 
244 
246 
247 
248 
253 #ifdef __cplusplus
254 }
255 #endif
256 
257 #endif /* __PDSSPECTROGRAPH_H__ */
258 
unsigned int PdsFtNatural
Definition: pdsftglobal.h:50
int pds_spectrograph_set_window_hanning(PdsSpectrograph *SPECTROGRAPH)
Copia una ventana de Hann a W de la SPECTROGRAPH.
int pds_spectrograph_set_window_gauss(PdsSpectrograph *SPECTROGRAPH, PdsFtReal Sigma)
Copia una ventana de Gauss a W de la SPECTROGRAPH.
int pds_spectrograph_set_window_hamming(PdsSpectrograph *SPECTROGRAPH)
Copia una ventana de Hamming a W de la SPECTROGRAPH.
Estructura tipo PdsSpectrograph. Esta estructura genera un SPECTROGRAPH de L puntos de tiempo y M pun...
PdsFtNatural L
void pds_spectrograph_free(PdsSpectrograph *SPECTROGRAPH)
Libera una estructura de tipo puntero PdsSpectrograph.
void pds_spectrograph_destroy(PdsSpectrograph **SPECTROGRAPH)
Libera una estructura de tipo puntero PdsSpectrograph, y carga a la estructura con NULL...
PdsSpectrograph * pds_spectrograph_new(PdsFtNatural L, PdsFtNatural *N)
Crea una estructura de tipo PdsSpectrograph, para generar un SPECTROGRAPH de L puntos de tiempo y M p...
int pds_spectrograph_evaluate_real(PdsSpectrograph *SPECTROGRAPH, PdsMatrix *Out, const PdsVector *In)
Evalua la SPECTROGRAPH de un vector real. El número de lineas la matriz Out debe ser igual N/2=M...
PdsFtNatural N
float PdsFtReal
Definition: pdsftglobal.h:45
PdsFtNatural M
int pds_spectrograph_set_window_rectangular(PdsSpectrograph *SPECTROGRAPH)
Copia una ventana rectangular a W de la SPECTROGRAPH.
PdsCVector * Y
int pds_spectrograph_evaluate_complex(PdsSpectrograph *SPECTROGRAPH, PdsMatrix *Out, const PdsCVector *In)
Evalua la SPECTROGRAPH de un vector complejo. El número de lineas la matriz Out debe ser igual N/2=M...
PdsCVector * X
Estructura tipo PdsFft. Esta estructura genera una Transformada Rápida de Fourier de N puntos...
Definition: pdsfft.h:84

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed