Skip to content

Commit

Permalink
scale.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Aug 4, 2024
1 parent 83b10f4 commit eb53c82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gamutrf/grscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def __init__(
if write_fft_points:
fft_dir = sample_dir
Path(sample_dir).mkdir(parents=True, exist_ok=True)
samples_vlen = fft_batch_size * nfft
self.samples_blocks.extend(
[
# blocks.vector_to_stream(
Expand All @@ -215,10 +216,10 @@ def __init__(
"rx_freq",
gr.sizeof_gr_complex,
"_".join(("cf32", endianstr())),
fft_batch_size * nfft,
samples_vlen,
sample_dir,
"samples",
write_samples,
int(write_samples / samples_vlen),
skip_tune_step,
int(samp_rate),
rotate_secs,
Expand Down

0 comments on commit eb53c82

Please sign in to comment.