From 3184832f1661e9f4caa20d22f7cb229964c210b5 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Mon, 21 Dec 2009 23:23:48 +0000 Subject: decay proportional to sum of dipole elements --- rb87_D1_line.m | 4 ++-- 1 file 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 -- cgit v1.2.3