view 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 source

#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