Skip to content

Commit

Permalink
heatmap: more ghz
Browse files Browse the repository at this point in the history
  • Loading branch information
keenerd committed Feb 13, 2015
1 parent 65b3fcd commit 0df2bf2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions heatmap/heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def collate_row(x_size):
start_freq = columns[start_col]
if args.low_freq:
start_freq = max(args.low_freq, start_freq)
# sometimes fails? skip or abort?
x_start = freqs.index(start_freq)
zs = floatify(line[6+start_col:6+stop_col+1])
if t != old_t:
Expand Down Expand Up @@ -481,9 +482,9 @@ def shadow_text(x, y, s, font, fg_color='white', bg_color='black'):
max_freq = max(freqs)
delta = max_freq - min_freq
width = len(freqs)
label_base = 8
label_base = 9

for i in range(8, 0, -1):
for i in range(label_base, 0, -1):
interval = int(10**i)
low_f = (min_freq // interval) * interval
high_f = (1 + max_freq // interval) * interval
Expand Down

0 comments on commit 0df2bf2

Please sign in to comment.