diff --git a/content/multipledataset.html b/content/multipledataset.html index 07ded6f9..6f0ebacf 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -117,7 +117,7 @@ draft: false if (!(keydic.has(key2))) { keydic.set(key2, []) } - keydic.get(key2).push(exc.value) + keydic.get(key2).push(exc.correctedValue) } } var sdic = new Map() diff --git a/static/js/data.js b/static/js/data.js index 8dbf3db3..09c645ea 100644 --- a/static/js/data.js +++ b/static/js/data.js @@ -117,6 +117,19 @@ class excitationValue extends excitationBase { this.corrected = corrected this.oscilatorForces = oscilatorForces } + get CorrectedValue(){ + if(this.corrected && getCorrected) { + return this.corrected + } + else{ + return this.value + } + } + get Correction(){ + if(this.corrected){ + return this.corrected-this.value + } + } } class excitation extends excitationBase {