summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2016-03-24 22:24:56 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2016-03-24 22:24:56 -0400
commit08072905125eaba7c53df0be259ab480907006e2 (patch)
tree7fbb25ce6f5dbcbc6bb45e475a5eaf91ef52798f
parent0ef22da30039c63a7b384c02d816ec06ee181720 (diff)
downloadnoisy_eit_xmds-08072905125eaba7c53df0be259ab480907006e2.tar.gz
noisy_eit_xmds-08072905125eaba7c53df0be259ab480907006e2.zip
flipped sign of absorption coeficien for one of the fields
-rw-r--r--delta_2photon_noise.xmds4
1 files changed, 2 insertions, 2 deletions
diff --git a/delta_2photon_noise.xmds b/delta_2photon_noise.xmds
index 087fe11..8fec16f 100644
--- a/delta_2photon_noise.xmds
+++ b/delta_2photon_noise.xmds
@@ -131,8 +131,8 @@
rbbOut = rbb.Re();
rccOut = rcc.Re();
noiseOut = noise.Re();
- PDl = norm( 1/sqrt(2)*(rab + rAB) + i/sqrt(2)*(rca + rCA) );
- PDr = norm( 1/sqrt(2)*(rab + rAB) - i/sqrt(2)*(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;
]]>