mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-03 11:38:09 +00:00
Fix: Raman pumps SRS solver
In the previous version, when the values of the counter-propagating Raman pump profiles were flipped, the pumps resulted flipped also in frequency. Change-Id: I66f7c2aff35c72f5dcb4fb11f7a82fe1df2ee3f2 Co-authored-by: Andrea D'Amico <andrea.damico@polito.it>
This commit is contained in:
@@ -144,7 +144,7 @@ class RamanSolver:
|
||||
cnt_alpha = fiber.alpha(cnt_frequency)
|
||||
cnt_power_profile = \
|
||||
flip(RamanSolver.first_order_derivative_solution(cnt_power, cnt_alpha, cnt_cr,
|
||||
z[-1] - flip(z), flip(lumped_losses)))
|
||||
z[-1] - flip(z), flip(lumped_losses)), axis=1)
|
||||
# Co-propagating and Counter-propagating Profile Computation
|
||||
if co_frequency.size and cnt_frequency.size:
|
||||
co_power_profile, cnt_power_profile = \
|
||||
|
||||
Reference in New Issue
Block a user