Removed some non-working code to do with raw data analysis.

This commit is contained in:
Graham Jones
2016-07-22 18:51:20 +01:00
parent 4f71b024b5
commit b299cc27f8
2 changed files with 3 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ dependencies {
testCompile 'org.hamcrest:hamcrest-library:1.1'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:support-v4:22.2.1'
compile files('libs/JTransforms-3.1-with-dependencies.jar')
//compile files('libs/JTransforms-3.1-with-dependencies.jar')
compile 'org.apache.commons:commons-math3:3.6.1'
}

View File

@@ -40,7 +40,6 @@ import com.getpebble.android.kit.util.PebbleDictionary;
import org.json.JSONException;
import org.json.JSONObject;
import org.jtransforms.fft.DoubleFFT_1D;
import java.io.File;
import java.io.FileOutputStream;
@@ -681,8 +680,8 @@ public class SdDataSourcePebble extends SdDataSource {
private void analyseRawData() {
Log.v(TAG,"analyserawData()");
DoubleFFT_1D fft = new DoubleFFT_1D(MAX_RAW_DATA);
fft.realForward(rawData);
//DoubleFFT_1D fft = new DoubleFFT_1D(MAX_RAW_DATA);
//fft.realForward(rawData);
// FIXME - rawData should really be a circular buffer.
nRawData = 0;
}