Skip to content

Commit

Permalink
Merge pull request #1303 from anarkiwi/classify
Browse files Browse the repository at this point in the history
Fully class-ify WaterfallPlot
  • Loading branch information
anarkiwi authored Jun 7, 2024
2 parents d5dc55d + d176d03 commit 346b2a0
Show file tree
Hide file tree
Showing 2 changed files with 655 additions and 649 deletions.
4 changes: 3 additions & 1 deletion gamutrfwaterfall/gamutrfwaterfall/waterfall.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ def sig_handler(_sig=None, _frame=None):
if not scan_configs:
return

plot = None

while zmqr.healthy() and running:
if need_reconfig:
config = make_config(
Expand Down Expand Up @@ -117,7 +119,7 @@ def sig_handler(_sig=None, _frame=None):
config.fft_len,
config.freq_resolution,
)
plot = WaterfallPlot(config, base_save_path, peak_finder)
plot = WaterfallPlot(config, base_save_path, peak_finder, 1)
results = [
(scan_configs, frame_resample(scan_df, config.freq_resolution * 1e6))
]
Expand Down
Loading

0 comments on commit 346b2a0

Please sign in to comment.