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