Functions | |
| add_state_vlines (ax, add_legend=False) | |
| update (frame_idx) | |
Variables | |
| add_legend | |
| ani | |
| ax_map = axes[0, 0] | |
| ax_snr = axes[0, 1] | |
| ax_snr_diff = axes[1, 1] | |
| ax_snr_zoom = axes[1, 0] | |
| axes | |
| axes_snr | |
| bbox_inches | |
| buildings | |
| df = pd.read_csv("3gpp-channel-consistency-output.txt", sep=r"\s+", comment="#") | |
| dpi | |
| fig | |
| fig_snr | |
| figsize | |
| fps | |
| frame_indices = range(0, n_samples, frame_step) | |
| frame_step = max(1, n_samples // max_frames) | |
| linewidth | |
| max_abs_dsnr = float(np.max(np.abs(snr_diff))) | |
| int | max_frames = 800 |
| n_samples = len(df) | |
| prev_state = state.shift(1, fill_value=state.iloc[0]) | |
| rect = patches.Rectangle((x0, y0), x1 - x0, y1 - y0, color="gray", alpha=0.5) | |
| rx_circle = patches.Circle((0.0, 0.0), 5.0, color="red", alpha=0.35) | |
| rx_x = df[RX_X_COL] | |
| str | RX_X_COL = "RxPosX[m]" |
| rx_y = df[RX_Y_COL] | |
| str | RX_Y_COL = "RxPosY[m]" |
| s_cur_is_nlos = s_cur.startswith("NLOS") | |
| s_prev_is_nlos = s_prev.startswith("NLOS") | |
| sharex | |
| snr = df[SNR_COL] | |
| str | SNR_COL = "SNR[dB]" |
| snr_diff = snr.diff().fillna(0.0) | |
| int | snr_diff_ymax = +35 |
| int | snr_diff_ymin = -35 |
| float | snr_margin = 3.0 |
| snr_max = snr.max() | |
| snr_min = snr.min() | |
| int | snr_ymax = 30 |
| int | snr_ymin = -60 |
| state = df[STATE_COL].astype(str) | |
| str | STATE_COL = "ChannelState" |
| t_max = time.max() | |
| t_min = time.min() | |
| time = df[TIME_COL] | |
| str | TIME_COL = "Time[s]" |
| list | times_LN = [] |
| list | times_NL = [] |
| tx_circle = patches.Circle((0.0, 0.0), 5.0, color="blue", alpha=0.35) | |
| tx_x = df[TX_X_COL] | |
| str | TX_X_COL = "TxPosX[m]" |
| tx_y = df[TX_Y_COL] | |
| str | TX_Y_COL = "TxPosY[m]" |
| writer | |
| x0 | |
| x1 | |
| y0 | |
| y1 | |
| float | zoom_window_s = 0.05 |
| three-gpp-channel-consistency-example.add_state_vlines | ( | ax, | |
| add_legend = False ) |
Draw vertical lines for LOS/NLOS transitions, with different types.
Definition at line 67 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.update | ( | frame_idx | ) |
Definition at line 222 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.add_legend |
Definition at line 169 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.ani |
Definition at line 251 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.ax_map = axes[0, 0] |
Definition at line 130 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.ax_snr = axes[0, 1] |
Definition at line 131 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.ax_snr_diff = axes[1, 1] |
Definition at line 133 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.ax_snr_zoom = axes[1, 0] |
Definition at line 132 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.axes |
Definition at line 128 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.axes_snr |
Definition at line 197 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.bbox_inches |
Definition at line 214 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.buildings |
Definition at line 150 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.df = pd.read_csv("3gpp-channel-consistency-output.txt", sep=r"\s+", comment="#") |
Definition at line 19 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.dpi |
Definition at line 128 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.fig |
Definition at line 128 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.fig_snr |
Definition at line 197 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.figsize |
Definition at line 128 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.fps |
Definition at line 259 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.frame_indices = range(0, n_samples, frame_step) |
Definition at line 121 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.frame_step = max(1, n_samples // max_frames) |
Definition at line 120 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.linewidth |
Definition at line 167 of file three-gpp-channel-consistency-example.py.
| float three-gpp-channel-consistency-example.max_abs_dsnr = float(np.max(np.abs(snr_diff))) |
Definition at line 103 of file three-gpp-channel-consistency-example.py.
| int three-gpp-channel-consistency-example.max_frames = 800 |
Definition at line 119 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.n_samples = len(df) |
Definition at line 118 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.prev_state = state.shift(1, fill_value=state.iloc[0]) |
Definition at line 49 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.rect = patches.Rectangle((x0, y0), x1 - x0, y1 - y0, color="gray", alpha=0.5) |
Definition at line 156 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.rx_circle = patches.Circle((0.0, 0.0), 5.0, color="red", alpha=0.35) |
Definition at line 146 of file three-gpp-channel-consistency-example.py.
Definition at line 34 of file three-gpp-channel-consistency-example.py.
| str three-gpp-channel-consistency-example.RX_X_COL = "RxPosX[m]" |
Definition at line 25 of file three-gpp-channel-consistency-example.py.
Definition at line 35 of file three-gpp-channel-consistency-example.py.
| str three-gpp-channel-consistency-example.RX_Y_COL = "RxPosY[m]" |
Definition at line 26 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.s_cur_is_nlos = s_cur.startswith("NLOS") |
Definition at line 59 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.s_prev_is_nlos = s_prev.startswith("NLOS") |
Definition at line 58 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.sharex |
Definition at line 197 of file three-gpp-channel-consistency-example.py.
Definition at line 36 of file three-gpp-channel-consistency-example.py.
| str three-gpp-channel-consistency-example.SNR_COL = "SNR[dB]" |
Definition at line 28 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.snr_diff = snr.diff().fillna(0.0) |
Definition at line 44 of file three-gpp-channel-consistency-example.py.
| int three-gpp-channel-consistency-example.snr_diff_ymax = +35 |
Definition at line 110 of file three-gpp-channel-consistency-example.py.
| int three-gpp-channel-consistency-example.snr_diff_ymin = -35 |
Definition at line 109 of file three-gpp-channel-consistency-example.py.
| float three-gpp-channel-consistency-example.snr_margin = 3.0 |
Definition at line 95 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.snr_max = snr.max() |
Definition at line 94 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.snr_min = snr.min() |
Definition at line 93 of file three-gpp-channel-consistency-example.py.
| int three-gpp-channel-consistency-example.snr_ymax = 30 |
Definition at line 98 of file three-gpp-channel-consistency-example.py.
| int three-gpp-channel-consistency-example.snr_ymin = -60 |
Definition at line 99 of file three-gpp-channel-consistency-example.py.
Definition at line 39 of file three-gpp-channel-consistency-example.py.
| str three-gpp-channel-consistency-example.STATE_COL = "ChannelState" |
Definition at line 27 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.t_max = time.max() |
Definition at line 90 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.t_min = time.min() |
Definition at line 89 of file three-gpp-channel-consistency-example.py.
Definition at line 31 of file three-gpp-channel-consistency-example.py.
| str three-gpp-channel-consistency-example.TIME_COL = "Time[s]" |
Definition at line 22 of file three-gpp-channel-consistency-example.py.
| list three-gpp-channel-consistency-example.times_LN = [] |
Definition at line 51 of file three-gpp-channel-consistency-example.py.
| list three-gpp-channel-consistency-example.times_NL = [] |
Definition at line 52 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.tx_circle = patches.Circle((0.0, 0.0), 5.0, color="blue", alpha=0.35) |
Definition at line 145 of file three-gpp-channel-consistency-example.py.
Definition at line 32 of file three-gpp-channel-consistency-example.py.
| str three-gpp-channel-consistency-example.TX_X_COL = "TxPosX[m]" |
Definition at line 23 of file three-gpp-channel-consistency-example.py.
Definition at line 33 of file three-gpp-channel-consistency-example.py.
| str three-gpp-channel-consistency-example.TX_Y_COL = "TxPosY[m]" |
Definition at line 24 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.writer |
Definition at line 259 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.x0 |
Definition at line 155 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.x1 |
Definition at line 155 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.y0 |
Definition at line 155 of file three-gpp-channel-consistency-example.py.
| three-gpp-channel-consistency-example.y1 |
Definition at line 155 of file three-gpp-channel-consistency-example.py.
| float three-gpp-channel-consistency-example.zoom_window_s = 0.05 |
Definition at line 87 of file three-gpp-channel-consistency-example.py.