mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Work on Javascript side
This commit is contained in:
parent
24bcc5bc7f
commit
e92def5e02
@ -117,7 +117,7 @@ draft: false
|
|||||||
if (!(keydic.has(key2))) {
|
if (!(keydic.has(key2))) {
|
||||||
keydic.set(key2, [])
|
keydic.set(key2, [])
|
||||||
}
|
}
|
||||||
keydic.get(key2).push(exc.value)
|
keydic.get(key2).push(exc.correctedValue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var sdic = new Map()
|
var sdic = new Map()
|
||||||
|
@ -117,6 +117,19 @@ class excitationValue extends excitationBase {
|
|||||||
this.corrected = corrected
|
this.corrected = corrected
|
||||||
this.oscilatorForces = oscilatorForces
|
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 {
|
class excitation extends excitationBase {
|
||||||
|
Loading…
Reference in New Issue
Block a user