keenerd / rtl-sdr-misc

A bucket of various work-in-progress rtl-sdr ideas.
208 stars 171 forks source link

heatmap compress #9

Closed bdn76 closed 8 years ago

bdn76 commented 8 years ago

dima@dima:~$ heatmap --compress 1200 156 156.png loading x: 4098, y: 1185, z: (-13.050000, 19.720000) drawing Traceback (most recent call last): File "/home/dima/bin/heatmap", line 615, in img = push_pixels(args) File "/home/dima/bin/heatmap", line 422, in push_pixels y = args.pix_height - time_compression(height - y, args.compress) NameError: global name 'height' is not defined dima@dima:~$ heatmap --compress 0.1 156 156.png loading x: 4098, y: 527, z: (-13.050000, 19.720000) drawing Traceback (most recent call last): File "/home/dima/bin/heatmap", line 615, in img = push_pixels(args) File "/home/dima/bin/heatmap", line 422, in push_pixels y = args.pix_height - time_compression(height - y, args.compress) NameError: global name 'height' is not defined dima@dima:~$

Compress do not work or i'm doing something wrong?

keenerd commented 8 years ago

Looks like I forgot to test a few paths when I was cleaning stuff up.

Does commit ddfe86d work for you?

bdn76 commented 8 years ago

Work fine. Thank you.