-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_beamforming.py
28 lines (24 loc) · 1.08 KB
/
config_beamforming.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import numpy as np
# --- EMULATING DATA variables ---
f_sampling = 48828 # sampling frequency in Hz
samples = 512 # number of samples to generate
t_start = 0 # start time of simulation
t_end = samples/f_sampling # end time of simulation
c = 343
# --- ANTENNA ARRAY setup variables ---
active_arrays = 1 # number of arrays
rows = 8 # number of rows
columns = 8 # number of columns
elements = rows*columns*active_arrays # number of elements
distance = 20 * 10**(-3) # distance between elements (m)
d = 0 * 10**(-2) # distance between arrays (m)
# --- OTHER variables ---
# Number of modes for adaptive weights
modes = 7
# Beamforming resolution and scanning window
x_res = 23 # resolution in x, use odd number
y_res = 23 # resolution in y, use odd number
aspect_ratio = 16/9 # Aspect ratio 16:9
alpha = 100 # total scanning angle in theta-direction [degrees]
z_scan = 1 # [m]
plot_setup = 0