New views
This commit is contained in:
@@ -33,7 +33,6 @@ export default class DataAnalysis {
|
||||
this.activeMeasurements += newAverages.reduce((n, val) => {
|
||||
return n + ((val >= analysisParameters.activeTimeThreshold) ? 1 : 0);
|
||||
}, 0);
|
||||
console.log("data", newDataArr, "newAverages", newAverages, "reduction", this.activeMeasurements);
|
||||
|
||||
// peaks
|
||||
const newPeaks = this.peakDetectorSimple.addVector(newDataArr);
|
||||
@@ -63,7 +62,6 @@ export default class DataAnalysis {
|
||||
peakMaxWindow: peakMaxWindow,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
_resetCache(analysisParameters, sessionId) {
|
||||
this.movingAverage = analysisParameters ? new MovingAverage(analysisParameters.movingAverageWindowSize) : null;
|
||||
|
||||
Reference in New Issue
Block a user