![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Versão atual 13-12-2013.
Dependencies: EthernetInterface mbed-rtos mbed
Diff: Headers/SignalProcessor.h
- Revision:
- 0:65c41a68b49a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Headers/SignalProcessor.h Fri Dec 13 11:42:59 2013 +0000 @@ -0,0 +1,29 @@ +/* + * 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 \ No newline at end of file