Mercurial > repos > calkan > mrcanavar
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mrcanavar-0.34/gcnorm.h Tue Feb 21 10:44:13 2012 -0500 @@ -0,0 +1,23 @@ +#ifndef __GCNORM +#define __GCNORM + +#include <stdio.h> +#include <string.h> + +#include "globals.h" +#include "sam.h" +#include <math.h> +#include <float.h> + +#define MAXCOPY 2.5 +#define MAXCOPY_X 1.5 +#define MINCOPY 1.5 +#define MINCOPY_X 0.5 + + +int norm_until_converges(enum WINDOWTYPE, float *, float *); +void normalize(enum WINDOWTYPE, float *, float *, float *, float *, float *, float *); +void calc_stat(enum WINDOWTYPE, float *, float *, char, float *, float *, float *, float *); +float clean_outlier(enum WINDOWTYPE, float *, float *); + +#endif