Marcelo Rebonatto / Mbed 2 deprecated PM_COPIA

Dependencies:   EthernetInterface mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SignalProcessor.h Source File

SignalProcessor.h

00001 /*
00002  * SignalProcessor.h
00003  *
00004  *  Created on: 
00005  *      Author: 
00006  */
00007  
00008 #ifndef SIGNALPROCESSOR_H
00009 #define SIGNALPROCESSOR_H
00010 
00011 #include <math.h>
00012 
00013 #include "Capture.h"
00014 #include "Settings.h"
00015 
00016 class SignalProcessor
00017 {
00018 
00019     static float* ComplexFFT(unsigned short int* data, int sign);
00020     
00021 public:
00022 
00023     static void CalculateRMSBulk(float *result);
00024     static float CalculateRMS(unsigned short int *buffer,int nChannel);
00025     static void CalculateFFT(unsigned short int *buffer,float *sen,float *cos,float *vm,int sign);
00026     
00027 };
00028 
00029 #endif