This commit is contained in:
HappyZ 2019-05-23 11:05:09 -05:00
parent 2c3aea76c9
commit cbb93cae69
3 changed files with 4 additions and 3 deletions

View File

@ -46,8 +46,8 @@ def fittingSingle(filepath, args):
rx_rsses,
bounds_pwr=(-60, 0),
bounds_gamma=(2, 6),
bounds_loc_x=(0, 6.2),
bounds_loc_y=(0, 6.2),
bounds_loc_x=(0, 6.4),
bounds_loc_y=(0, 6.4),
monte_carlo_sampling=False,
monte_carlo_sampling_rate=0.8
)

View File

@ -111,7 +111,7 @@ def generateData(floormap, tx_locs, args):
# paths.extend(list(path))
# plotSpace(floormap, space_rays=paths, cminmax=(-50, 0.0))
duration = (int(time.time()) - starttime)
print("duration: {}s ({:.2f}%) - len {}".format(duration, j/rx_locs.shape[0], len(rss_vec)))
print("duration: {}s ({:.2f}%) - len {}".format(duration, j/rx_locs.shape[0]*100.0, len(rss_vec)))
# rss_vec.append(rss)
rss_map = convert_vector_to_mat(rx_locs, np.array(rss_vec), (64, 64))

View File

@ -1,6 +1,7 @@
#!/usr/bin/python
import os
import sys
import pickle
import argparse