summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compass_output_results.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/compass_output_results.m b/compass_output_results.m
index 306f2ac..a5ae1fa 100644
--- a/compass_output_results.m
+++ b/compass_output_results.m
@@ -16,9 +16,9 @@ absorption_matrix=reshape(total_absorption_vs_detuning, N_detunings, N_angles);
% the last sideband is not in two-photon resonance
% we use it as a reference for background transmission
background_vector=absorption_matrix(N_detunings,:);
-background_absorption=repmat( background_vector , N_detunings, 1);
+background_transmission=repmat( background_vector , N_detunings, 1);
-transmission_matrix=background_absorption-absorption_matrix;
+transmission_matrix=-background_transmission+absorption_matrix;