-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_exp1308.py
59 lines (43 loc) · 893 Bytes
/
config_exp1308.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
__author__ = 'YBeer'
import numpy as np
# Grid dimesions in meters, resolution of 1 meter
x_max = 101
y_max = 101
# RSSI limits
rssi_max = -48
rssi_min = -70
# Minimum distance
r_sat_sqrd = 1
# standard error in degrees
std = .5
# Resolution of samples
res = 1
# Creating grid
# [0: x, 1: y]
position = []
for i in range(0, x_max, res):
for j in range(0, y_max, res):
position.append([])
position[-1].append(i)
position[-1].append(j)
# number of repeats
N = 4
# angle limits
min_angle = -65
max_angle = 65
# remove crosspoint if dist is bigger than N-dist
N_dists = 1
# number of AP_remove for averaging
N_APremove = 5
# number of active crossings
N_cross = 9
cross_fac = 0.8
# timed path
alpha = 0.2
trend = 0.2
# filtered MAC address
mac = 'f02765408a10'
# time between different time windows in seconds
time_step = 1
# ellipse samples
el_res = 40