2019-09-26 09:32:03 +02:00
|
|
|
async function loadAllData() {
|
|
|
|
dic = {
|
|
|
|
abs: [],
|
|
|
|
fluo: [],
|
|
|
|
};
|
2020-05-25 11:02:57 +02:00
|
|
|
for (const f of getAbsFilesName()) {
|
2020-11-19 23:12:14 +01:00
|
|
|
// dic.abs.push(VertDataFile.load(f,VertExcitationKinds.Absorbtion))
|
2020-05-25 11:02:57 +02:00
|
|
|
dic.abs.push(await VertDataFile.loadAsync(f,VertExcitationKinds.Absorbtion))
|
|
|
|
}
|
|
|
|
for (const f of getFluoFilesName()) {
|
2020-11-19 23:12:14 +01:00
|
|
|
// dic.fluo.push(VertDataFile.load(f,VertExcitationKinds.Fluorescence))
|
2020-05-25 11:02:57 +02:00
|
|
|
dic.fluo.push(await VertDataFile.loadAsync(f,VertExcitationKinds.Fluorescence))
|
|
|
|
}
|
2019-09-26 09:32:03 +02:00
|
|
|
return dic;
|
|
|
|
}
|