annotate mrcanavar-0.34/gcnorm.h @ 0:86522a0b5f59 default tip

Uploaded source code for mrCaNaVaR
author calkan
date Tue, 21 Feb 2012 10:44:13 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
1 #ifndef __GCNORM
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
2 #define __GCNORM
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
3
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
4 #include <stdio.h>
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
5 #include <string.h>
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
6
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
7 #include "globals.h"
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
8 #include "sam.h"
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
9 #include <math.h>
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
10 #include <float.h>
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
11
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
12 #define MAXCOPY 2.5
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
13 #define MAXCOPY_X 1.5
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
14 #define MINCOPY 1.5
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
15 #define MINCOPY_X 0.5
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
16
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
17
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
18 int norm_until_converges(enum WINDOWTYPE, float *, float *);
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
19 void normalize(enum WINDOWTYPE, float *, float *, float *, float *, float *, float *);
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
20 void calc_stat(enum WINDOWTYPE, float *, float *, char, float *, float *, float *, float *);
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
21 float clean_outlier(enum WINDOWTYPE, float *, float *);
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
22
86522a0b5f59 Uploaded source code for mrCaNaVaR
calkan
parents:
diff changeset
23 #endif