summaryrefslogtreecommitdiff
path: root/liouville.m
diff options
context:
space:
mode:
Diffstat (limited to 'liouville.m')
-rw-r--r--liouville.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/liouville.m b/liouville.m
index 4ce714c..2f6a28e 100644
--- a/liouville.m
+++ b/liouville.m
@@ -79,7 +79,7 @@ for detuning_p_cntr=1:N_detun_steps+1;
%rho_d=rhoOfFreq(rhoLiouville, 3, Nlevels, Nfreq); % drive frequency
%rho_m=rhoOfFreq(rhoLiouville, 4, Nlevels, Nfreq); % opposite sideband frequency
- kappa_p(detuning_p_cntr)=susceptibility(2, rhoLiouville, dipole_elements, Nlevels, Nfreq);
+ kappa_p(detuning_p_cntr)=susceptibility(freq2index(wp,modulation_freq), rhoLiouville, dipole_elements, Nlevels, Nfreq);
%kappa_m(detuning_p_cntr)=susceptibility(4, rhoLiouville, dipole_elements, Nlevels, Nfreq);
detuning_freq(detuning_p_cntr)=detuning_p;