Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rtos mbed NTPClient
Headers/SignalProcessor.h
- Committer:
- rebonatto
- Date:
- 2014-09-04
- Revision:
- 0:66d8bd1f9d4c
- Child:
- 29:fcfcb31a6362
File content as of revision 0:66d8bd1f9d4c:
/* * 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, int ch); static float ComplexFFTTeste(unsigned short int* data, float *vector, int sign, int ch); public: //static void CalculateRMSBulk(float *result); static void CalculateRMSBulk(float *result, float *vm2, int *under, int *over); static float CalculateRMS(unsigned short int *buffer,int nChannel); static void CalculateFFT(unsigned short int *buffer,float *sen,float *cos,float *vm,int sign, int ch); //static float DFT(float *data, float *seno, float *coss); }; #endif