mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2025-01-12 22:18:29 +01:00
Fix equations error
This commit is contained in:
parent
74e2936f61
commit
d5465af13a
@ -71,7 +71,7 @@ draft: false
|
|||||||
var row=document.createElement("tr")
|
var row=document.createElement("tr")
|
||||||
var rowd=[]
|
var rowd=[]
|
||||||
rowd.push(String.raw`${LatexInline[0]} ${el.start.toLaTeX()} \rightarrow ${el.end.toLaTeX()}${LatexInline[1]}`)
|
rowd.push(String.raw`${LatexInline[0]} ${el.start.toLaTeX()} \rightarrow ${el.end.toLaTeX()}${LatexInline[1]}`)
|
||||||
var e=[el.Eabs,el.Efluo,el.EZPE,el.Ezz]
|
var e=[el.Eabs,el.Efluo,el.EZPE,el.Eadia,el.Ezz]
|
||||||
e.forEach((val)=>rowd.push(val.toFixed(2)))
|
e.forEach((val)=>rowd.push(val.toFixed(2)))
|
||||||
rowd.forEach((d)=>{
|
rowd.forEach((d)=>{
|
||||||
td=document.createElement("td")
|
td=document.createElement("td")
|
||||||
@ -118,6 +118,7 @@ draft: false
|
|||||||
<th>\(E_{abs}\)</th>
|
<th>\(E_{abs}\)</th>
|
||||||
<th>\(E_{fluo}\)</th>
|
<th>\(E_{fluo}\)</th>
|
||||||
<th>\(\Delta E_{ZPE}\)</th>
|
<th>\(\Delta E_{ZPE}\)</th>
|
||||||
|
<th>\(E_{adia}\)</th>
|
||||||
<th>\(E_{00}\)</th>
|
<th>\(E_{00}\)</th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -71,8 +71,11 @@ class excitation{
|
|||||||
this.Efluo=Efluo;
|
this.Efluo=Efluo;
|
||||||
this.EZPE=EZPE;
|
this.EZPE=EZPE;
|
||||||
}
|
}
|
||||||
|
get Eadia() {
|
||||||
|
return (this.Eabs+this.Efluo)/2
|
||||||
|
}
|
||||||
get Ezz() {
|
get Ezz() {
|
||||||
return this.Eabs-this.Efluo+this.EZPE
|
return this.Eadia+this.EZPE
|
||||||
}
|
}
|
||||||
toString() {
|
toString() {
|
||||||
return this.start+ ', ' + this.end +', '+ this.Eabs.toPrecision(3);
|
return this.start+ ', ' + this.end +', '+ this.Eabs.toPrecision(3);
|
||||||
|
Loading…
Reference in New Issue
Block a user