Commit 331918a2 authored by Striegler, Arne's avatar Striegler, Arne 😁
Browse files

Debug BERcalc

parent 84462518
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ E = amp(E = E, Pmean = P0)
E   = osnr( E = E, OSNR = 15.0 )          # Set initial OSNR to bad 20 dB


for c in range(0, 10):
for c in range(0, 0):
    print('Span: ', c)
    fibres = pypho_fiber_birefringence.create_pmd_fibre(SSMF.l, 1e3, 0.00)
    E = SSMF(E = E, birefarray = fibres)         
@@ -103,5 +103,5 @@ plt.subplot(2, 1, 2); h = plt.contourf(Esy_re_ax, Esy_im_ax, Dec_y, 32, cmap=plt
# Calculate BER
############################

BER = calc_BER (gp, E, [constpts_x, constpts_y], osnr( E = E), Dec_x, Dec_y, Esx_re_ax, Esx_im_ax, Esy_re_ax, Esy_im_ax, 5, LO, filter_f0, sigsampler)
BER = calc_BER (gp, E, [constpts_x, constpts_y], osnr( E = E), Dec_x, Dec_y, Esx_re_ax, Esx_im_ax, Esy_re_ax, Esy_im_ax, 10, LO, filter_f0, sigsampler,[bits_x, bits_y])
print(BER)
 No newline at end of file

pypho_arbmod.pyc

0 → 100644
+2.33 KiB

File added.

No diff preview for this file type.

pypho_bits.pyc

0 → 100644
+2.81 KiB

File added.

No diff preview for this file type.

pypho_constants.pyc

0 → 100644
+477 B

File added.

No diff preview for this file type.

pypho_cwlaser.pyc

0 → 100644
+2.28 KiB

File added.

No diff preview for this file type.

Loading