You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: showcases/tsn/trafficshaping/timeawareshaper/doc/index.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ Visualizing Gate Schedules
74
74
75
75
The configured gate schedules can be visualized with the :ned:`GateScheduleVisualizer` module. It displays a gate schedule in time, as a colored bar near the network node containing the gate, on the top-level canvas (by default, to the right). The horizontal axis of the bar is time, and the current time is indicated by a dashed vertical line in the center. The gate schedule is displayed as color-coded blocks on the bar. Green blocks signify the open, and red blocks the closed gate state. The blocks move to the right with simulation time, so that the current time is in the center, the past is to the left, and the future is to the right. Thus, the visualization shows if the gate is currently open or closed, and when it will change state in the future.
76
76
77
-
The visualization can be enabled by setting the visualizer's :par:`displayGates` parameter to ``true``. By default, it displays all gates in the network, but this can be narrowed down with the
77
+
The visualization can be enabled by setting the visualizer's :par:`displayGateSchedules` parameter to ``true``. By default, it displays all gates in the network, but this can be narrowed down with the
78
78
:par:`gateFilter` parameter.
79
79
80
80
For example, two gates in the same interface are visualized on the image below:
Copy file name to clipboardExpand all lines: showcases/visualizer/canvas/spectrum/doc/index.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,7 @@ for both the main and the per-node figures. With less detail, the figure becomes
280
280
pixelated; with more detail, even if the canvas is zoomed in, the figure still doesn't
281
281
become pixelated.
282
282
283
-
The power density map feature can calculate the heatmap in three modes, controlled by the :par:`PowerDensityMapPixelMode` parameter:
283
+
The power density map feature can calculate the heatmap in three modes, controlled by the :par:`powerDensityMapPixelMode` parameter:
284
284
285
285
- ``sampling``: Use sampling to calculate the heatmap, i.e. sample the power density at the center of each pixel
286
286
- ``partition``: Calculate and draw the power density using the interpolation of the partitioning of the original multidimensional power density function
@@ -289,7 +289,7 @@ The power density map feature can calculate the heatmap in three modes, controll
289
289
Sampling is the fastest, but it can lead to loss of detail due to undersampling in some corner cases. Partition is slower and more accurate; it paints coherent pixel areas, potentially painting the same pixel several times, leading to inaccurate pixel colors.
290
290
Mean is the slowest, but the most accurate. Note that the :par:`powerDensityMapPixelMode` parameter
291
291
pertains both to the main and the per-node figures; ``mean`` by default.
292
-
Similarly, the spectrogram figure has the :par:`SpectrogramPixelMode` parameter.
292
+
Similarly, the spectrogram figure has the :par:`spectrogramPixelMode` parameter.
293
293
294
294
.. note:: The power density map feature is very CPU-intensive, but the visualization can use multiple CPU cores. For multi-core support, INET needs to be compiled with OpenMP.
0 commit comments