diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2010-01-21 20:05:30 +0000 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2010-01-21 20:05:30 +0000 |
commit | 7ab837a5ba1edbd8d544e1bb6f5857ee0146d754 (patch) | |
tree | 65e2b1d5dba2226462f7f2b4fc4542a3ec9db7f6 /useful_functions.m | |
parent | bd8cf4946962e609ee9b7f75bec4ff8ed764066e (diff) | |
download | multi_mode_eit-7ab837a5ba1edbd8d544e1bb6f5857ee0146d754.tar.gz multi_mode_eit-7ab837a5ba1edbd8d544e1bb6f5857ee0146d754.zip |
proper polarization rotation transformation for positive frequencies
Diffstat (limited to 'useful_functions.m')
-rw-r--r-- | useful_functions.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/useful_functions.m b/useful_functions.m index 2eef299..e675ba1 100644 --- a/useful_functions.m +++ b/useful_functions.m @@ -307,5 +307,18 @@ function total_absorption=total_field_absorption(atom_field_problem) total_absorption=sum(total_absorption_v); endfunction +% create full list of atom modulation frequencies from positive light frequency amplitudes +function [modulation_freq, E_field_amplitudes] = ... +light_positive_frequencies_and_amplitudes2full_set_of_modulation_frequencies_and_amlitudes(... + positive_light_frequencies, positive_light_field_amplitudes ) + % we should add 0 frequency as first element of our frequencies list + modulation_freq = cat(2, 0, positive_light_frequencies, -positive_light_frequencies); + % negative frequencies have complex conjugated light fields amplitudes + E_field_amplitudes.left = cat(2, 0, positive_light_field_amplitudes.left, conj(positive_light_field_amplitudes.left) ); + E_field_amplitudes.right = cat(2, 0, positive_light_field_amplitudes.right, conj(positive_light_field_amplitudes.right) ); + E_field_amplitudes.linear = cat(2, 0, positive_light_field_amplitudes.linear, conj(positive_light_field_amplitudes.linear) ); +endfunction + + % vim: ts=2:sw=2:fdm=indent |