Skip to content

Commit

Permalink
Merge pull request #659 from anarkiwi/cli
Browse files Browse the repository at this point in the history
workarounds.
  • Loading branch information
anarkiwi authored May 18, 2023
2 parents ecee6f3 + 661ee19 commit 2d901aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README-airt.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ $ cd gamutrf
$ pip3 install .
```

run gamutrf (may need to change sample rate depending on SDR).
run gamutrf (may need to change sample rate depending on SDR - e.g. 125e6 or 100e6).

```
$ LD_PRELOAD=$HOME/.conda/envs/$CONDA_DEFAULT_ENV/lib/libgomp.so.1 gamutrf-scan gamutrf-scan --sdr=SoapyAIRT --freq-start=300e6 --freq-end=6e9 --tune-step-fft 1024 --samp-rate=100e6 --nfft 256 --tuneoverlap 1
$ gamutrf-scan gamutrf-sigfinder --promport=9009 --fftgraph fft.png --port 9005 --nfftplots 0 --db_rolling_factor 0 --buff_path $HOME
$ LD_PRELOAD=$HOME/.conda/envs/$CONDA_DEFAULT_ENV/lib/libgomp.so.1 gamutrf-scan --sdr=SoapyAIRT --freq-start=300e6 --freq-end=6e9 --tune-step-fft 1024 --samp-rate=100e6 --nfft 256 --tuneoverlap 1
$ gamutrf-sigfinder --promport=9009 --fftgraph fft.png --port 9005 --nfftplots 0 --db_rolling_factor 0 --buff_path $HOME
```

gamutrf-scan will repeatedly print
Expand Down
2 changes: 1 addition & 1 deletion gamutrf/grsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def null_workaround_start_hook(self):
def airt_workaround_start_hook(self):
logging.info("applying AIRT workarounds")
workaround_time = 0.5
for rate in (20e6, self.samp_rate):
for rate in (15.625e6, self.samp_rate):
time.sleep(workaround_time)
self.sources[0].set_sample_rate(0, rate)
self.sources[0].set_bandwidth(0, rate)
Expand Down

0 comments on commit 2d901aa

Please sign in to comment.