summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2010-01-21 20:08:41 +0000
committerEugeniy Mikhailov <evgmik@gmail.com>2010-01-21 20:08:41 +0000
commit32c30704e9debda5604342d2b316c0ef948eb111 (patch)
treeb74e8c8b93c297335df3c15a5f25d3862253b315
parent048813c8b319c77deb742c348645e9853fa706f5 (diff)
downloadmulti_mode_eit-32c30704e9debda5604342d2b316c0ef948eb111.tar.gz
multi_mode_eit-32c30704e9debda5604342d2b316c0ef948eb111.zip
absorption to transmisson output
-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;