Switched to using complex_to_mag_squared vs. mag. Based on an observation that
the optimal slicer threshold is 0.5(V**2)t. Less CPU load, better performance. Some configurations of threshold and --pmf result in slightly worse performance. Most result in better performance.
This commit is contained in:
@@ -427,7 +427,7 @@ def make_parser(pub):
|
||||
try:
|
||||
ret = air_modes.modes_report(modes_reply(int(data, 16)),
|
||||
int(ecc, 16),
|
||||
20.0*math.log10(float(reference)),
|
||||
10.0*math.log10(float(reference)),
|
||||
air_modes.stamp(0, float(timestamp)))
|
||||
pub["modes_dl"] = ret
|
||||
pub["type%i_dl" % ret.data.get_type()] = ret
|
||||
|
||||
Reference in New Issue
Block a user