Print both ASE-OSNR and final GSNR for both 0.1nm and signal-bw in power sweep
As agreed upon during today's coders call, this is something that is
needed by actual users in the field, so let's prioritize their needs
over clarity of output for demo purposes.
@@ -157,6 +157,8 @@ def main(network, equipment, source, destination, sim_params, req=None):
if len(power_range) == 1:
for elem in path:
print(elem)
+ else:
+ print(path[-1])
if power_mode:
print(f'\nTransmission result for input power = {lin2db(req.power*1e3):.2f} dBm:')
else:
