new input spectrum for large number of WDM channels
frequency described by the variable f0 in the dictionary sys_param in the file "general_parameters.py"
Each dictionary element of the list 'signals' describes the profile of a WDM channel:
- b_ch: the channel bandwidth (for a root raised cosine, it will be (1+roll_off)*symbol_rate
+ b_ch: the -3 dB channel bandwidth (for a root raised cosine, it is equal to the symbol rate)
roll_off: the roll off parameter of the root raised cosine shape
p_ch: the channel power [W]
p_nli: power of accumulated NLI in b_ch [W]
p_ase: power of accumulated ASE noise in b_ch [W]
"""
+n_ch = 41
+
spectrum = {
- 'laser_position': [0, 0, 0, 1, 0, 0, 1],
+ 'laser_position': [1, 0, 0, 0, 0, 0, 0, 0] * n_ch,
'signals': [{
'b_ch': 0.032,
- 'roll_off': 0.05,
- 'p_ch': 1.26E-3,
- 'p_nli': 0,
- 'p_ase': 0
- },
- {
- 'b_ch': 0.032,
- 'roll_off': 0.05,
- 'p_ch': 1.26E-3,
+ 'roll_off': 0.15,
+ 'p_ch': 1E-3,
'p_nli': 0,
'p_ase': 0
- }]
+ } for _ in range(n_ch)]
}
