A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
three-gpp-v2v-channel-example Namespace Reference

Functions

 update (frame)
 

Variables

 ani = animation.FuncAnimation(fig, update, frames=len(df), interval=0.001, blit=False)
 
 ax_map
 
 ax_snr
 
list building_patches = []
 
 buildings = pd.read_csv("buildings.txt", sep=r"\s+", comment="#", header=None)
 
 df = pd.read_csv("example-output.txt", sep=r"\s+", comment="#")
 
 figsize
 
 height = y1 - y0
 
 rect = patches.Rectangle((x0, y0), width, height, color="gray", alpha=0.5)
 
 rx_circle = patches.Circle((0, 0), 5, color="red", alpha=0.35)
 
int RX_X = 3
 
int RX_Y = 4
 
int SNR = 6
 
int TIME = 0
 
 tx_circle = patches.Circle((0, 0), 5, color="blue", alpha=0.35)
 
int TX_X = 1
 
int TX_Y = 2
 
 width = x1 - x0
 
 writer
 
 x0
 
 x1
 
 y0
 
 y1
 

Function Documentation

◆ update()

three-gpp-v2v-channel-example.update ( frame)

Definition at line 63 of file three-gpp-v2v-channel-example.py.

Variable Documentation

◆ ani

three-gpp-v2v-channel-example.ani = animation.FuncAnimation(fig, update, frames=len(df), interval=0.001, blit=False)

Definition at line 73 of file three-gpp-v2v-channel-example.py.

◆ ax_map

three-gpp-v2v-channel-example.ax_map

Definition at line 30 of file three-gpp-v2v-channel-example.py.

◆ ax_snr

three-gpp-v2v-channel-example.ax_snr

Definition at line 30 of file three-gpp-v2v-channel-example.py.

◆ building_patches

list three-gpp-v2v-channel-example.building_patches = []

Definition at line 52 of file three-gpp-v2v-channel-example.py.

◆ buildings

three-gpp-v2v-channel-example.buildings = pd.read_csv("buildings.txt", sep=r"\s+", comment="#", header=None)

Definition at line 51 of file three-gpp-v2v-channel-example.py.

◆ df

three-gpp-v2v-channel-example.df = pd.read_csv("example-output.txt", sep=r"\s+", comment="#")

Definition at line 18 of file three-gpp-v2v-channel-example.py.

◆ figsize

three-gpp-v2v-channel-example.figsize

Definition at line 30 of file three-gpp-v2v-channel-example.py.

◆ height

three-gpp-v2v-channel-example.height = y1 - y0

Definition at line 56 of file three-gpp-v2v-channel-example.py.

◆ rect

three-gpp-v2v-channel-example.rect = patches.Rectangle((x0, y0), width, height, color="gray", alpha=0.5)

Definition at line 57 of file three-gpp-v2v-channel-example.py.

◆ rx_circle

three-gpp-v2v-channel-example.rx_circle = patches.Circle((0, 0), 5, color="red", alpha=0.35)

Definition at line 39 of file three-gpp-v2v-channel-example.py.

◆ RX_X

int three-gpp-v2v-channel-example.RX_X = 3

Definition at line 25 of file three-gpp-v2v-channel-example.py.

◆ RX_Y

int three-gpp-v2v-channel-example.RX_Y = 4

Definition at line 26 of file three-gpp-v2v-channel-example.py.

◆ SNR

int three-gpp-v2v-channel-example.SNR = 6

Definition at line 27 of file three-gpp-v2v-channel-example.py.

◆ TIME

int three-gpp-v2v-channel-example.TIME = 0

Definition at line 22 of file three-gpp-v2v-channel-example.py.

◆ tx_circle

three-gpp-v2v-channel-example.tx_circle = patches.Circle((0, 0), 5, color="blue", alpha=0.35)

Definition at line 38 of file three-gpp-v2v-channel-example.py.

◆ TX_X

int three-gpp-v2v-channel-example.TX_X = 1

Definition at line 23 of file three-gpp-v2v-channel-example.py.

◆ TX_Y

int three-gpp-v2v-channel-example.TX_Y = 2

Definition at line 24 of file three-gpp-v2v-channel-example.py.

◆ width

three-gpp-v2v-channel-example.width = x1 - x0

Definition at line 55 of file three-gpp-v2v-channel-example.py.

◆ writer

three-gpp-v2v-channel-example.writer

Definition at line 76 of file three-gpp-v2v-channel-example.py.

◆ x0

three-gpp-v2v-channel-example.x0

Definition at line 54 of file three-gpp-v2v-channel-example.py.

◆ x1

three-gpp-v2v-channel-example.x1

Definition at line 54 of file three-gpp-v2v-channel-example.py.

◆ y0

three-gpp-v2v-channel-example.y0

Definition at line 54 of file three-gpp-v2v-channel-example.py.

◆ y1

three-gpp-v2v-channel-example.y1

Definition at line 54 of file three-gpp-v2v-channel-example.py.