Versão atual 13-12-2013.

Dependencies:   EthernetInterface mbed-rtos mbed

Headers/SignalProcessor.h

Committer:
rebonatto
Date:
2013-12-13
Revision:
1:238ac24e46dd
Parent:
0:65c41a68b49a

File content as of revision 1:238ac24e46dd:

/*
 * SignalProcessor.h
 *
 *  Created on: 
 *      Author: 
 */
 
#ifndef SIGNALPROCESSOR_H
#define SIGNALPROCESSOR_H

#include <math.h>

#include "Capture.h"
#include "Settings.h"

class SignalProcessor
{

    static float* ComplexFFT(unsigned short int* data, int sign);
    
public:

    static void CalculateRMSBulk(float *result);
    static float CalculateRMS(unsigned short int *buffer,int nChannel);
    static void CalculateFFT(unsigned short int *buffer,float *sen,float *cos,float *vm,int sign);
    
};

#endif