Removed some non-working code to do with raw data analysis.
This commit is contained in:
@@ -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'
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user