nyuwireless-unipd / ns3-mmwave

ns-3 module for simulating mmWave-based cellular systems. See https://ieeexplore.ieee.org/document/8344116/ (open access) as a reference.
GNU General Public License v2.0
298 stars 193 forks source link

some questions for code in the simulation #249

Closed MOUmeiqi closed 2 years ago

MOUmeiqi commented 2 years ago

Hi Guys! my first question: i get the data by runing the code,but i don't konw how to visual the data,such as:plot the SINR figure, i.e. don't konw use the order to open the '.txt' file. the scond question is how to use the files in the scripts. e,g, such as:plot_latency.py、plot_rate_phy.py. I try to run such as .py file,but no response. I would appreciate it if someone could help me with my questions Yours JIANG Yizhou

pagmatt commented 2 years ago

Hi Jiang,

Personally I generate plots by using a Python script, by loading the trace file I am interested in using Pandas readcsv function and then carrying out whatever analysis I am interested in. To understand what the various columns of the tracefile mean, you can inspect the code and find where such a trace is logged. For instance, the PHY traces are logged in the MmwavePhyTrace class, and its rows log the transmission/reception of a single PHY lateer PDU. Its most notable columns encode:

tommasozugno commented 2 years ago

You can also refer to this wiki page: https://github.com/nyuwireless-unipd/ns3-mmwave/wiki/ns3-mmWave-traces