From 55e046aadfd55a39a9190025ac03dca80f7c8036 Mon Sep 17 00:00:00 2001
From: kamischi <karl-michael.schindler@web.de>
Date: Sat, 6 Jul 2024 08:38:35 +0200
Subject: [PATCH] working YAML input file

validated, but not used or tested
---
 tests/inputFiles/eelsbosin001.yml | 47 +++++++++++++++++++++++++++++++
 tests/inputFiles/eelsin001.yml    | 25 ----------------
 2 files changed, 47 insertions(+), 25 deletions(-)
 create mode 100644 tests/inputFiles/eelsbosin001.yml
 delete mode 100644 tests/inputFiles/eelsin001.yml

diff --git a/tests/inputFiles/eelsbosin001.yml b/tests/inputFiles/eelsbosin001.yml
new file mode 100644
index 0000000..483fb99
--- /dev/null
+++ b/tests/inputFiles/eelsbosin001.yml
@@ -0,0 +1,47 @@
+E0:     4.0
+Theta: 60.0
+PhiA:   1.8
+PhiB:   1.8
+wMin:  50.0
+wMax: 700.0
+dw:     2.0
+Comment1: "WFW: MnO layer on metal"
+Comment2: 
+NumberOfPeriodicLayers: 1
+
+Layers:
+- { Name: "MnO",
+    thickness: 994.0,
+    epsInfinity: 4.95,
+    Terms:
+      [
+        {Type: Lorentz,
+         wTO: 269.0,
+         Q:    16.000,
+         Gamma: 0.05}
+      ,
+        {Type: Lorentz,
+         wTO: 269.0,
+         Q:    16.000,
+         Gamma: 0.05}
+      ]
+  }
+- { Name: "Platinum",
+    thickness: 1000.0,
+    epsInfinity: 8.90,
+    Terms:
+      [
+        {TypeOfTerm: Drude,
+         wTO: 160000.0,
+         lambda: 0.012}
+      ]
+  }
+
+ImageCharge: False
+
+T:     300.0
+Width:  57.0
+Gauss:   0.5
+Asym:    0.3
+Emin: -500.0
+EMax:  750.0
diff --git a/tests/inputFiles/eelsin001.yml b/tests/inputFiles/eelsin001.yml
deleted file mode 100644
index eb2540a..0000000
--- a/tests/inputFiles/eelsin001.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-E0:     4.0
-Theta: 60.0
-PhiA:   1.8
-PhiB:   1.8
-wMin:  50.0
-wMax: 700.0
-dw:     2.0
-Comment1: WFW: MnO layer on metal
-Comment2: 
-NumberOfLayers: 2			******
-NumberOfPeriodics: 1
-NameOfLayer: MnO
-thickness: 994.0
-epsInfinity: 4.95
-NumberOfOscillators: 1		******
-wTO: 269.0
-Q:    16.000
-Gamma: 0.05
-NameOfLayer: Platinum
-thickness: 1000.0
-epsInfinity: 8.90
-NumberOfOscillators: 1		******
-wTO: 160000.0
-Q:    -1					??????
-lambda: 0.012
-- 
GitLab