summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--three_levels.m24
1 files changed, 12 insertions, 12 deletions
diff --git a/three_levels.m b/three_levels.m
index beb70b3..4eca8f5 100644
--- a/three_levels.m
+++ b/three_levels.m
@@ -9,6 +9,18 @@ levels=1:3;
% \
% ___________ |2>
+%EM field definition
+Ep=1.0;
+Epc=conj(Ep);
+Ed=10;
+Edc=conj(Ed);
+wd=w13;
+wp=w12;
+modulation_freq=[0, wp, wd, -wp, -wd, wp-wd, wd-wp];
+E_field =[0, Ep, Ed, Epc, Edc, 0, 0 ];
+%modulation_freq=[0, wp, -wp];
+%E_field =[0, Ep, Epc];
+
Nlevels=3;
@@ -53,15 +65,3 @@ dipole_elements(3,1)=1;
dipole_elements(1,3)=dipole_elements(3,1);
-%EM field definition
-Ep=10.0;
-Epc=conj(Ep);
-Ed=0;
-Edc=conj(Ed);
-wd=w13;
-wp=w12;
-%modulation_freq=[0, wp, wd, -wp, -wd, wp-wd, wd-wp];
-%E_field =[0, Ep, Ed, Epc, Edc, 0, 0 ];
-modulation_freq=[0, wp, -wp];
-E_field =[0, Ep, Epc];
-