bug fix
This commit is contained in:
parent
2c3aea76c9
commit
cbb93cae69
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import sys
|
||||
import pickle
|
||||
import argparse
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue