mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-30 01:32:21 +00:00
As Jonas pointed out, the code used to contain a check for non-nan values, effectively skipping channels where the Raman gain was not explicitly computed. Now that we do not introduce NaNs into some channels anymore, this shortcut no longer works. We could either add explicit filtering for only showing those channels which are covered by the Raman engine, but then the result would be rather confusing in the non-Raman case. One could also add another column with the simulated vs. approximated NLI, but when I tried this, the output looked a bit cluttered. I think that the best course of action for now is to just show info about all channels (if asked by the user). So this is just a cleanup for a condition which is now always on.