summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2009-12-21 23:23:48 +0000
committerEugeniy Mikhailov <evgmik@gmail.com>2009-12-21 23:23:48 +0000
commit3184832f1661e9f4caa20d22f7cb229964c210b5 (patch)
treeab26574d7ef01e48f299d290ee8618de0632fd25
parent6fbe878099ac112d32f3b36751cde43194c78b85 (diff)
downloadmulti_mode_eit-3184832f1661e9f4caa20d22f7cb229964c210b5.tar.gz
multi_mode_eit-3184832f1661e9f4caa20d22f7cb229964c210b5.zip
decay proportional to sum of dipole elements
-rw-r--r--rb87_D1_line.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/rb87_D1_line.m b/rb87_D1_line.m
index 3165df1..95e370b 100644
--- a/rb87_D1_line.m
+++ b/rb87_D1_line.m
@@ -99,7 +99,7 @@ dipole_elements.linear+=dipole_elements.linear';
dipole_elements.left+=dipole_elements.left';
dipole_elements.right+=dipole_elements.right';
-maximum_dipole_elements=dipole_elements.linear + dipole_elements.left + dipole_elements.right;
+maximum_dipole_elements=abs(dipole_elements.linear) + abs(dipole_elements.left) + abs(dipole_elements.right);
%defasing matrix
g_deph=0;
@@ -133,7 +133,7 @@ for i=1:Nlevels
% we cannot decay to itself
if ( i != j )
% total eight ground levels F=2 and F=1 so we decay in 7 channels
- g_decay(i,j)=gamma_hpf/7;
+ g_decay(i,j)+=gamma_hpf/7;
endif
endif
endfor