oopt-gnpy icon indicating copy to clipboard operation
oopt-gnpy copied to clipboard

Transmission_main_example output changed

Open ggrammel opened this issue 6 years ago • 3 comments

The output of $ python transmission_main_example is now more explicit in develop than what is shown in Readme. It looks now like this:

Transmission result for input power = 0.00dBm :
Transceiver Site_B
  OSNR ASE (0.1nm, dB):      32.03
  OSNR ASE (signal bw, dB):  27.95
  SNR total (signal bw, dB): 26.27
  SNR total (0.1nm, dB): 30.35

(No source node specified: picked Site_A)

(No destination node specified: picked Site_B)

ggrammel avatar Aug 22 '19 14:08 ggrammel

Let's wait for #299 , then I'll update the asciicast.

jktjkt avatar Sep 19 '19 08:09 jktjkt

i'm sorry, i cannot find the file 'transmission_main_example', is the file deleted? Could you please provide the folder 'example' again?

zhuxr97 avatar Nov 23 '22 04:11 zhuxr97

@awgnxr, we've changed the code a few times since 2019, and these scripts are now generated on-the-fly when GNPy is installed, and therefore their location depends on the installation method. As a user, you can find them via:

  • gnpy-transmission-example is a program that you can run directly instead of doing the former python transmission_main_example.py.
  • the directory name where the default equipment library, example topologies, etc, are stored can be printed via executing gnpy-example-data

Here's where they are located in case you're a Python developer and would like to work on the code:

jktjkt avatar Nov 23 '22 11:11 jktjkt