diff options
-rw-r--r-- | rb87_D1_line.m | 4 |
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 |