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
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
Generated on Fri Jul 15 2022 22:11:24 by
1.7.2