signal generation working

This commit is contained in:
Joseph Hopfmüller
2024-11-15 16:46:09 +01:00
parent 7ac4e48c20
commit 0564969a50
2 changed files with 323 additions and 139 deletions

View File

@@ -1,8 +1,6 @@
[glova]
; sps = 256
; nos = 2**17
sps = 128
nos = 2**14
sps = 128
f0 = 193414489032258.06
; -> delta0 = 1550.0 nm
symbolrate = 10e9
@@ -11,9 +9,9 @@ flags = "FFTW_PATIENT"
nthreads = 32
[fiber]
length = 100000
length = 100
gamma = 0
alpha = 0.2
alpha = 0
D = 17
; 1700 ps/nm/km @ 1 km length is equivalent to 17 ps/nm/km @ 100 km length but the simulation is way faster
S = 0
@@ -21,15 +19,22 @@ birefsteps = 0
; birefseed = 0xC0FFEE
[signal]
seed = 0xC0FFEE
modulation = "pam"
mod_order = 4
mod_depth = 1
laser_power = 0
seed = 0xC0FFEE
pulse_shape = "gauss"
fwhm = 0.33
mod_depth = 0.8
max_jitter=0.02
; jitter_seed = 0xC0FFEE
[script]
data_dir = "/home/suppl/.pypho/data"
laser_power = 0
edfa_power = 3
edfa_nf = 5
pulse_shape = "gauss"
fwhm = 0.33
[data]
dir = "data"
npy_dir = "npys"