mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 10:38:10 +00:00
fix OSNR test
This commit is contained in:
@@ -66,7 +66,7 @@ def setup_trx():
|
|||||||
def si(nch_and_spacing, bw):
|
def si(nch_and_spacing, bw):
|
||||||
"""parametrize a channel comb with nb_channel, spacing and signal bw"""
|
"""parametrize a channel comb with nb_channel, spacing and signal bw"""
|
||||||
nb_channel, spacing = nch_and_spacing
|
nb_channel, spacing = nch_and_spacing
|
||||||
return create_input_spectral_information(191.3e12, 0.15, bw, 1e-3, spacing, nb_channel, 45)
|
return create_input_spectral_information(191.3e12, 0.15, bw, 1e-3, spacing, nb_channel, 100)
|
||||||
|
|
||||||
@pytest.mark.parametrize("gain, nf_expected", [(10, 15), (15, 10), (25, 5.8)])
|
@pytest.mark.parametrize("gain, nf_expected", [(10, 15), (15, 10), (25, 5.8)])
|
||||||
def test_variable_gain_nf(gain, nf_expected, setup_edfa_variable_gain, si):
|
def test_variable_gain_nf(gain, nf_expected, setup_edfa_variable_gain, si):
|
||||||
|
|||||||
Reference in New Issue
Block a user