2019-12-15 19:32:14 +01:00
|
|
|
class excitationTypes {
|
|
|
|
static get VALENCE(){return new excitationType(1,String.raw`\mathrm{V}`)}
|
|
|
|
static get RYDBERG(){return new excitationType(2,String.raw`\mathrm{R}`)}
|
|
|
|
static get PiPis(){return new excitationType(4,String.raw`\pi \rightarrow \pi^\star`)}
|
|
|
|
static get nPis(){return new excitationType(8,String.raw`n \rightarrow \pi^\star`)}
|
|
|
|
static get Singulet(){return new excitationType(16,"S")}
|
|
|
|
static get Doublet(){return new excitationType(32,"D")}
|
2019-12-16 13:49:41 +01:00
|
|
|
static get All(){
|
|
|
|
var lst=[]
|
|
|
|
for(const prop of Object.getOwnPropertyNames(excitationTypes)){
|
|
|
|
if (prop!="All") {
|
|
|
|
const value=excitationTypes[prop]
|
|
|
|
if (trueTypeOf(value)==excitationType.name) {
|
|
|
|
lst.push([prop,value])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return lst
|
|
|
|
}
|
|
|
|
static GetFlags(value){
|
|
|
|
return this.All().filter((x)=>{value & x[1]})
|
|
|
|
}
|
2019-12-15 19:32:14 +01:00
|
|
|
}
|
|
|
|
class excitationType{
|
|
|
|
constructor(value,laTeX){
|
|
|
|
this.Value=value;
|
|
|
|
this.LaTeX=laTeX
|
|
|
|
}
|
2019-12-16 13:49:41 +01:00
|
|
|
valueOf(){
|
|
|
|
return this.Value;
|
|
|
|
}
|
2019-12-01 18:14:45 +01:00
|
|
|
}
|
2019-08-28 11:59:18 +02:00
|
|
|
class code {
|
2019-09-26 20:25:51 +02:00
|
|
|
constructor(name, version) {
|
|
|
|
this.name = name;
|
|
|
|
this.version = version;
|
2019-09-03 15:36:32 +02:00
|
|
|
};
|
2019-09-26 20:25:51 +02:00
|
|
|
toString() {
|
|
|
|
var str = this.name;
|
2019-09-03 15:36:32 +02:00
|
|
|
if (this.version) {
|
2019-09-26 20:25:51 +02:00
|
|
|
str = str + ' (' + this.version + ')';
|
2019-09-03 15:36:32 +02:00
|
|
|
}
|
|
|
|
return str;
|
2019-08-28 11:59:18 +02:00
|
|
|
}
|
2019-09-19 15:05:07 +02:00
|
|
|
static fromString(str) {
|
2019-09-26 20:25:51 +02:00
|
|
|
var vals = str.split(",")
|
|
|
|
if (vals.length >= 2) {
|
|
|
|
return new code(vals[0], vals[1]);
|
2019-09-19 15:05:07 +02:00
|
|
|
} else {
|
2019-09-26 20:25:51 +02:00
|
|
|
return new code(vals[0], null);
|
2019-09-19 15:05:07 +02:00
|
|
|
}
|
|
|
|
}
|
2019-08-28 11:59:18 +02:00
|
|
|
}
|
2019-09-17 17:19:00 +02:00
|
|
|
class method {
|
2019-11-24 19:40:57 +01:00
|
|
|
constructor(name, basis=null) {
|
2019-09-26 20:25:51 +02:00
|
|
|
this.name = name;
|
|
|
|
this.basis = basis;
|
2019-09-03 15:36:32 +02:00
|
|
|
}
|
2019-09-19 15:05:07 +02:00
|
|
|
static fromString(str) {
|
2019-09-26 20:25:51 +02:00
|
|
|
var vals = str.split(",")
|
2019-11-24 19:40:57 +01:00
|
|
|
if (vals.length == 2) {
|
|
|
|
return new method(vals[0], vals[1]);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
return new method(vals[0], null)
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-19 15:05:07 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
toString() {
|
|
|
|
var str = this.name;
|
2019-09-28 14:38:14 +02:00
|
|
|
if (this.basis) {
|
2019-09-26 20:25:51 +02:00
|
|
|
str = str + '/' + this.basis;
|
2019-09-03 15:36:32 +02:00
|
|
|
}
|
|
|
|
return str;
|
2019-08-22 10:34:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-26 20:25:51 +02:00
|
|
|
class state {
|
|
|
|
constructor(number, multiplicity, symetry) {
|
|
|
|
this.number = number;
|
|
|
|
this.multiplicity = multiplicity;
|
|
|
|
this.symetry = symetry;
|
2019-09-03 15:36:32 +02:00
|
|
|
};
|
2019-09-26 20:25:51 +02:00
|
|
|
toString() {
|
|
|
|
var str = this.number + ' ^' + this.multiplicity + this.symetry;
|
2019-09-03 15:36:32 +02:00
|
|
|
return str;
|
|
|
|
};
|
|
|
|
toLaTeX() {
|
2019-11-12 15:27:53 +01:00
|
|
|
var tex = String.raw`${this.number}\:^{${this.multiplicity}}\mathrm{${this.symetry}}`;
|
2019-09-03 15:36:32 +02:00
|
|
|
return tex;
|
|
|
|
};
|
2019-08-22 10:34:07 +02:00
|
|
|
}
|
2019-11-02 15:10:57 +01:00
|
|
|
class DOI {
|
2019-09-26 20:25:51 +02:00
|
|
|
constructor(doistring) {
|
|
|
|
this.string = doistring
|
2019-09-03 15:36:32 +02:00
|
|
|
};
|
2019-09-26 20:25:51 +02:00
|
|
|
toString() {
|
2019-09-03 15:36:32 +02:00
|
|
|
return this.string;
|
|
|
|
};
|
2019-08-28 11:59:18 +02:00
|
|
|
get url() {
|
2019-12-10 15:15:46 +01:00
|
|
|
return new URL(this.string,'https://doi.org').toString()
|
|
|
|
}
|
2019-08-28 11:59:18 +02:00
|
|
|
}
|
2019-09-26 09:32:03 +02:00
|
|
|
|
2019-09-26 20:25:51 +02:00
|
|
|
class excitationBase {
|
2019-12-03 15:24:29 +01:00
|
|
|
constructor(initial, final, type=null, T1=null) {
|
2019-09-26 20:25:51 +02:00
|
|
|
this.initial = initial;
|
|
|
|
this.final = final
|
2019-12-10 13:55:32 +01:00
|
|
|
this.type=0
|
2019-12-01 18:14:45 +01:00
|
|
|
if (type !== null) {
|
2019-12-10 13:55:32 +01:00
|
|
|
const tys = type.split(";")
|
|
|
|
const arrow = String.raw`\rightarrow`
|
|
|
|
for (const ty of tys) {
|
|
|
|
if (ty.includes(arrow)) {
|
|
|
|
const [initialt, finalt] = ty.split(arrow, 2)
|
|
|
|
const initialts = initialt.split(",")
|
|
|
|
if (initialts.length==2||initialts.length==2){
|
2019-12-15 19:32:14 +01:00
|
|
|
this.type = this.type | excitationTypes.Singulet
|
2019-12-03 11:32:14 +01:00
|
|
|
}
|
|
|
|
else{
|
2019-12-15 19:32:14 +01:00
|
|
|
this.type = this.type | excitationTypes.Doublet
|
2019-12-03 11:32:14 +01:00
|
|
|
}
|
2019-12-10 13:55:32 +01:00
|
|
|
const finalts = finalt.split(",").map(x => x.trim())
|
2019-12-13 10:32:25 +01:00
|
|
|
if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) {
|
2019-12-15 19:32:14 +01:00
|
|
|
this.type = this.type | excitationTypes.PiPis
|
2019-12-13 10:32:25 +01:00
|
|
|
} else if (initialts.includes(String.raw`\pi`) in initialts && finals.includes(String.raw`\pi^\star`)) {
|
2019-12-15 19:32:14 +01:00
|
|
|
this.type = this.type | excitationTypes.PiPis
|
2019-12-13 10:32:25 +01:00
|
|
|
} else if (ty.includes(String.raw`\pi^\star`)) {
|
2019-12-15 19:32:14 +01:00
|
|
|
this.type = this.type | excitationTypes.RYDBERG
|
2019-12-13 10:32:25 +01:00
|
|
|
} else if (ty.includes(String.raw`\mathrm{V}`)) {
|
2019-12-15 19:32:14 +01:00
|
|
|
this.type = this.type | excitationTypes.VALENCE
|
2019-12-01 18:14:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.T1 = T1
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
class excitationValue extends excitationBase {
|
2019-12-17 09:59:57 +01:00
|
|
|
constructor(initial, final, type, value,oscilatorForces=null,T1=null,isUnsafe=false) {
|
2019-12-10 13:55:32 +01:00
|
|
|
super(initial, final, type, T1)
|
2019-09-26 20:25:51 +02:00
|
|
|
this.value = value
|
2019-11-25 14:49:40 +01:00
|
|
|
this.oscilatorForces = oscilatorForces
|
2019-12-17 09:59:57 +01:00
|
|
|
this.isUnsafe = isUnsafe
|
2019-11-20 20:15:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-26 20:25:51 +02:00
|
|
|
class excitation extends excitationBase {
|
|
|
|
constructor(initial, final, Eabs, Efluo, EZPE) {
|
|
|
|
super(initial, final)
|
|
|
|
this.Eabs = Eabs
|
|
|
|
this.Efluo = Efluo
|
|
|
|
this.EZPE = EZPE
|
2019-09-19 15:05:07 +02:00
|
|
|
}
|
2019-09-19 18:54:23 +02:00
|
|
|
get Eadia() {
|
2019-09-26 20:25:51 +02:00
|
|
|
return (this.Eabs + this.Efluo) / 2
|
|
|
|
}
|
2019-09-19 15:05:07 +02:00
|
|
|
get Ezz() {
|
2019-09-26 20:25:51 +02:00
|
|
|
return this.Eadia - this.EZPE
|
2019-08-28 11:59:18 +02:00
|
|
|
}
|
2019-09-03 15:36:32 +02:00
|
|
|
toString() {
|
2019-09-26 20:25:51 +02:00
|
|
|
return this.start + ', ' + this.end + ', ' + noNanPrecision(this.Eabs, 3);
|
2019-09-03 15:36:32 +02:00
|
|
|
}
|
2019-08-28 11:59:18 +02:00
|
|
|
}
|
|
|
|
|
2019-09-26 09:32:03 +02:00
|
|
|
class dataFileBase {
|
2019-09-26 20:25:51 +02:00
|
|
|
constructor() {
|
|
|
|
this.molecule = ''
|
2019-11-28 15:55:05 +01:00
|
|
|
this.comment = ""
|
2019-09-26 20:25:51 +02:00
|
|
|
this.code = null
|
|
|
|
this.method = null
|
|
|
|
this.excitations = []
|
|
|
|
this.DOI = null
|
2019-09-30 10:53:13 +02:00
|
|
|
this.sourceFile=null
|
2019-08-28 11:59:18 +02:00
|
|
|
}
|
2019-11-24 19:40:57 +01:00
|
|
|
get isTBE(){
|
2019-12-16 15:50:39 +01:00
|
|
|
return /^TBE/.test(this.method.name)
|
2019-12-10 15:01:46 +01:00
|
|
|
}
|
|
|
|
get isCorrected(){
|
2019-12-16 15:50:39 +01:00
|
|
|
return /corr$/.test(this.method.name)
|
2019-11-24 19:40:57 +01:00
|
|
|
}
|
2019-09-05 11:31:38 +02:00
|
|
|
static async loadAsync(file) {
|
2019-10-02 19:20:37 +02:00
|
|
|
switch (trueTypeOf(file)) {
|
2019-11-02 16:21:11 +01:00
|
|
|
case String.name:
|
2019-10-02 19:20:37 +02:00
|
|
|
file=getFullDataPath(file)
|
|
|
|
var str=await getTextFromFileUrlAsync(file)
|
|
|
|
break;
|
2019-11-02 16:21:11 +01:00
|
|
|
case File.name:
|
2019-10-02 19:20:37 +02:00
|
|
|
var str=await getTextFromUploadedFileAsync(file)
|
|
|
|
break
|
|
|
|
}
|
|
|
|
var dat = this.loadString(str);
|
2019-09-30 10:53:13 +02:00
|
|
|
dat.sourceFile=new websiteFile(file)
|
|
|
|
return dat
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
static readmetaPair(key, value, dat) {
|
|
|
|
switch (key) {
|
2019-09-26 09:32:03 +02:00
|
|
|
case "molecule":
|
2019-09-26 20:25:51 +02:00
|
|
|
dat.molecule = value
|
2019-09-26 09:32:03 +02:00
|
|
|
break;
|
|
|
|
case "comment":
|
2019-09-26 20:25:51 +02:00
|
|
|
dat.comment = value
|
2019-09-26 09:32:03 +02:00
|
|
|
break;
|
|
|
|
case "code":
|
2019-09-26 20:25:51 +02:00
|
|
|
dat.code = code.fromString(value)
|
2019-09-26 09:32:03 +02:00
|
|
|
break;
|
|
|
|
case "method":
|
2019-09-26 20:25:51 +02:00
|
|
|
dat.method = method.fromString(value)
|
|
|
|
break;
|
2019-09-26 09:32:03 +02:00
|
|
|
case "doi":
|
2019-11-02 15:10:57 +01:00
|
|
|
dat.DOI = new DOI(value);
|
2019-09-26 09:32:03 +02:00
|
|
|
break;
|
|
|
|
default:
|
|
|
|
}
|
2019-08-28 11:59:18 +02:00
|
|
|
}
|
2019-09-05 10:32:46 +02:00
|
|
|
static loadString(text) {
|
2019-08-28 11:59:18 +02:00
|
|
|
// for each line with metadata
|
2019-09-26 20:25:51 +02:00
|
|
|
var ismetaArea = true;
|
2019-08-28 11:59:18 +02:00
|
|
|
//metadata RegExp (start with #; maybe somme spaces; : ; maybe somme space; datas)
|
2019-09-26 20:25:51 +02:00
|
|
|
var meta = /^#\s*([A-Za-z_]+)\s*:\s*(.*)$/;
|
|
|
|
var classname = this.name
|
|
|
|
var dat = eval(String.raw`new ${this.name}()`)
|
|
|
|
function readmeta(line) {
|
2019-08-28 11:59:18 +02:00
|
|
|
// get key value
|
2019-09-26 20:25:51 +02:00
|
|
|
var match = line.match(meta)
|
2019-08-28 11:59:18 +02:00
|
|
|
// normalize key to lower
|
2019-09-26 20:25:51 +02:00
|
|
|
var key = match[1].toLowerCase()
|
2019-08-28 11:59:18 +02:00
|
|
|
//if data has value
|
2019-09-26 20:25:51 +02:00
|
|
|
if (match.length == 3 && match[2]) {
|
|
|
|
var val = match[2]
|
2019-09-26 09:32:03 +02:00
|
|
|
eval(String.raw`${classname}.readmetaPair(key,val,dat)`)
|
2019-08-28 11:59:18 +02:00
|
|
|
}
|
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
function readrow(line) {
|
2019-12-17 09:59:57 +01:00
|
|
|
var vals = line.match(/\([^\)]+\)|\S+/g)
|
2019-09-26 20:25:51 +02:00
|
|
|
var start = new state(parseInt(vals[0], 10), parseInt(vals[1], 10), vals[2]);
|
2020-01-07 11:24:34 +01:00
|
|
|
var end = new state(parseInt(vals[3], 10), parseInt(vals[4],10), vals[5]);
|
2019-12-10 13:55:32 +01:00
|
|
|
var hasType=vals.length>=7 && isNaN(vals[6])
|
2019-12-01 18:14:45 +01:00
|
|
|
var type=((vals.length>=7 && hasType) ? vals[6] : null)
|
2019-12-10 13:55:32 +01:00
|
|
|
if(type) {
|
2019-12-17 09:59:57 +01:00
|
|
|
const m=type.match(/^{([^\}]*)}$/)
|
2019-12-10 13:55:32 +01:00
|
|
|
if (m) {
|
|
|
|
type=m[1]
|
|
|
|
}
|
|
|
|
}
|
2019-12-01 18:14:45 +01:00
|
|
|
var val=((vals.length>=7+hasType) ? parseFloat(vals[6+hasType], 10): NaN)
|
|
|
|
var oscilatorForces=((vals.length>=9+hasType) ? parseFloat(vals[8+hasType],10): NaN)
|
|
|
|
var T1=((vals.length>=10+hasType) ? parseFloat(vals[9+hasType],10): NaN)
|
2019-12-15 19:32:14 +01:00
|
|
|
var isUnsafe=((vals.length>=11+hasType) ? parseFloat(vals[10+hasType],10): false)
|
2019-12-17 09:59:57 +01:00
|
|
|
var ex = new excitationValue(start, end, type, val,oscilatorForces,T1,isUnsafe);
|
2019-08-28 11:59:18 +02:00
|
|
|
dat.excitations.push(ex);
|
|
|
|
};
|
|
|
|
|
2019-09-26 20:25:51 +02:00
|
|
|
for (var line of text.split("\n")) {
|
2019-08-28 11:59:18 +02:00
|
|
|
//if it's not empty line
|
2019-09-26 20:25:51 +02:00
|
|
|
line = line.trim();
|
|
|
|
if (line) {
|
2019-08-28 11:59:18 +02:00
|
|
|
//if # may be metadata or comment
|
2019-09-26 20:25:51 +02:00
|
|
|
if (line.charAt(0) == "#") {
|
2019-08-28 11:59:18 +02:00
|
|
|
//if it's metadata
|
2019-09-26 20:25:51 +02:00
|
|
|
if (ismetaArea && meta.test(line)) {
|
2019-08-28 11:59:18 +02:00
|
|
|
readmeta(line);
|
2019-09-26 20:25:51 +02:00
|
|
|
}
|
2019-08-28 11:59:18 +02:00
|
|
|
} else { //else its row
|
2019-09-26 20:25:51 +02:00
|
|
|
ismetaArea = false;
|
2019-08-28 11:59:18 +02:00
|
|
|
readrow(line);
|
|
|
|
}
|
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
}
|
2019-08-28 11:59:18 +02:00
|
|
|
return dat
|
|
|
|
}
|
2019-08-22 10:34:07 +02:00
|
|
|
}
|
2019-09-26 09:32:03 +02:00
|
|
|
|
2019-10-07 09:23:42 +02:00
|
|
|
class oneStateDataFileBase extends dataFileBase {
|
2019-09-26 20:25:51 +02:00
|
|
|
constructor() {
|
2019-09-26 09:32:03 +02:00
|
|
|
super()
|
2019-09-26 20:25:51 +02:00
|
|
|
this.geometry = null
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
static readmetaPair(key, value, dat) {
|
|
|
|
if (key == "geom") {
|
|
|
|
dat.geometry = method.fromString(value)
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
else {
|
|
|
|
dataFileBase.readmetaPair(key, value, dat)
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-07 09:23:42 +02:00
|
|
|
class AbsDataFile extends oneStateDataFileBase {
|
2019-09-26 09:32:03 +02:00
|
|
|
|
|
|
|
}
|
2019-10-07 09:23:42 +02:00
|
|
|
class FluoDataFile extends oneStateDataFileBase {
|
2019-09-26 09:32:03 +02:00
|
|
|
|
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
class twoStateDataFileBase extends dataFileBase {
|
|
|
|
constructor() {
|
2019-09-26 09:32:03 +02:00
|
|
|
super()
|
2019-09-26 20:25:51 +02:00
|
|
|
this.GS = null
|
|
|
|
this.ES = null
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
static readmetaPair(key, value, dat) {
|
|
|
|
switch (key) {
|
2019-09-26 09:32:03 +02:00
|
|
|
case "gs":
|
2019-09-26 20:25:51 +02:00
|
|
|
dat.GS = method.fromString(value)
|
2019-09-26 09:32:03 +02:00
|
|
|
break;
|
|
|
|
case "es":
|
2019-09-26 20:25:51 +02:00
|
|
|
dat.ES = method.fromString(value)
|
2019-09-26 09:32:03 +02:00
|
|
|
break;
|
2019-09-26 20:25:51 +02:00
|
|
|
default:
|
|
|
|
dataFileBase.readmetaPair(key, value, dat)
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class ZPEDataFile extends twoStateDataFileBase {
|
2019-09-26 20:25:51 +02:00
|
|
|
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
class CombinedData {
|
|
|
|
constructor() {
|
|
|
|
this.Abs = null
|
|
|
|
this.Fluo = null
|
|
|
|
this.ZPE = null
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
|
|
|
get excitations() {
|
2019-09-26 20:25:51 +02:00
|
|
|
var exs = []
|
|
|
|
var dic = new Map()
|
|
|
|
if (this.Abs != null) {
|
|
|
|
for (const el of this.Abs.excitations) {
|
|
|
|
var key = JSON.stringify([el.initial, el.final])
|
|
|
|
if (!dic.has(key)) {
|
|
|
|
dic.set(key, {})
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
dic.get(key)["abs"] = el.value
|
|
|
|
}
|
|
|
|
if (this.Fluo != null) {
|
|
|
|
for (const el of this.Fluo.excitations) {
|
|
|
|
var key = JSON.stringify([el.initial, el.final])
|
|
|
|
if (!dic.has(key)) {
|
|
|
|
dic.set(key, {})
|
|
|
|
}
|
|
|
|
dic.get(key)["fluo"] = el.value
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
}
|
|
|
|
if (this.ZPE != null) {
|
|
|
|
for (const el of this.ZPE.excitations) {
|
|
|
|
var key = JSON.stringify([el.initial, el.final])
|
|
|
|
if (!dic.has(key)) {
|
|
|
|
dic.set(key, {})
|
|
|
|
}
|
|
|
|
dic.get(key)["ZPE"] = el.value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dic.forEach((value, key) => {
|
|
|
|
var eabs = NaN
|
|
|
|
var efluo = NaN
|
|
|
|
var eZPE = NaN
|
|
|
|
var mykey = JSON.parse(key)
|
|
|
|
for (var el of mykey) {
|
|
|
|
Reflect.setPrototypeOf(el, state.prototype)
|
|
|
|
}
|
|
|
|
if ("abs" in value) {
|
|
|
|
eabs = value["abs"]
|
|
|
|
}
|
|
|
|
if ("fluo" in value) {
|
|
|
|
efluo = value["fluo"]
|
|
|
|
}
|
|
|
|
if ("ZPE" in value) {
|
|
|
|
eZPE = value["ZPE"]
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
exs.push(new excitation(mykey[0], mykey[1], eabs, efluo, eZPE))
|
2019-09-26 09:32:03 +02:00
|
|
|
})
|
2019-09-26 20:25:51 +02:00
|
|
|
return exs
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|
2019-09-26 20:25:51 +02:00
|
|
|
}
|
2019-09-26 09:32:03 +02:00
|
|
|
}
|