10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-08-26 06:01:49 +02:00

Work on Javascript side

This commit is contained in:
Mickaël Véril 2019-12-09 14:35:14 +01:00
parent 24bcc5bc7f
commit e92def5e02
2 changed files with 14 additions and 1 deletions

View File

@ -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()

View File

@ -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 {