summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2016-03-23 18:50:22 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2016-03-23 18:50:22 -0400
commit09ed61a30016fb4ac3733b8fcd3f532bd4838db5 (patch)
treecf87f3837daa349d10f7d1639372c2dd9cea5569
parent1ed32998f8859246bb203e4bb64edf52b51ea5bc (diff)
downloadnoisy_eit_xmds-09ed61a30016fb4ac3733b8fcd3f532bd4838db5.tar.gz
noisy_eit_xmds-09ed61a30016fb4ac3733b8fcd3f532bd4838db5.zip
better expression forl beamsplitted signals
-rw-r--r--delta_2photon_noise.xmds10
1 files changed, 6 insertions, 4 deletions
diff --git a/delta_2photon_noise.xmds b/delta_2photon_noise.xmds
index 70e9150..f04e1db 100644
--- a/delta_2photon_noise.xmds
+++ b/delta_2photon_noise.xmds
@@ -19,7 +19,7 @@
<![CDATA[
const complex g=10;
const complex gbc=.001;
- const complex Split = 1;
+ const complex Split = 0;
const double tset=5;
const double alpha = 0;
@@ -120,7 +120,7 @@
<group>
<sampling basis="delta_2photon" initial_sample="yes">
<dependencies>density_matrix </dependencies>
- <moments>eit_signal mor_signal rab_rlOut rab_imOut rca_rlOut rca_imOut raaOut rbbOut rccOut noiseOut</moments>
+ <moments>eit_signal mor_signal rab_rlOut rab_imOut rca_rlOut rca_imOut raaOut rbbOut rccOut noiseOut PDl PDr</moments>
<![CDATA[
rab_rlOut = rab.Re();
rab_imOut = rab.Im();
@@ -130,8 +130,10 @@
rbbOut = rbb.Re();
rccOut = rcc.Re();
noiseOut = noise.Re();
- eit_signal = abs(rab + rAB) + abs(rca + rCA);
- mor_signal = abs(rab + rAB) - abs(rca + rCA);
+ PDl = norm( 1/sqrt(2)*(rab + rAB) + i/sqrt(2)*(rca + rCA) );
+ PDr = norm( 1/sqrt(2)*(rab + rAB) - i/sqrt(2)*(rca + rCA) );
+ eit_signal = PDl + PDr;
+ mor_signal = PDl - PDr;
]]>
</sampling>
</group>