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:
Nick Foster
2013-08-04 22:09:34 -07:00
parent 2c92b15a34
commit 640b13e62d
2 changed files with 2 additions and 2 deletions

View File

@@ -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