From 399d2cea04b8166ca38c065b8f80ddeec110f15f Mon Sep 17 00:00:00 2001 From: spagadar Date: Thu, 11 Jul 2024 11:29:11 -0500 Subject: [PATCH] Minor update to make python config_fa API uniform Signed-off-by: spagadar --- bindings/python/examples/do_fourier_analysis_pluto_auto.py | 2 +- bindings/python/genalyzer/__init__.py | 2 +- bindings/python/genalyzer/simplified.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/python/examples/do_fourier_analysis_pluto_auto.py b/bindings/python/examples/do_fourier_analysis_pluto_auto.py index 7673e54..3ddfaf0 100644 --- a/bindings/python/examples/do_fourier_analysis_pluto_auto.py +++ b/bindings/python/examples/do_fourier_analysis_pluto_auto.py @@ -29,7 +29,7 @@ genalyzer.config_set_sample_rate(data["fs"], c) # Find tones -genalyzer.gn_config_fa_auto(ssb_width=120, c=c) +genalyzer.config_fa_auto(ssb_width=120, c=c) # compute FFT fft_out_i, fft_out_q = genalyzer.fftz(qwfi, qwfq, c) diff --git a/bindings/python/genalyzer/__init__.py b/bindings/python/genalyzer/__init__.py index a5bdb9d..4e49e74 100644 --- a/bindings/python/genalyzer/__init__.py +++ b/bindings/python/genalyzer/__init__.py @@ -13,7 +13,7 @@ config_histz_nla, config_fftz, config_fa, - gn_config_fa_auto, + config_fa_auto, gen_ramp, gen_real_tone, gen_complex_tone, diff --git a/bindings/python/genalyzer/simplified.py b/bindings/python/genalyzer/simplified.py index a9b8527..68b9420 100644 --- a/bindings/python/genalyzer/simplified.py +++ b/bindings/python/genalyzer/simplified.py @@ -614,7 +614,7 @@ def config_fa(fixed_tone_freq: float, c: GNConfig = None) -> GNConfig: return c -def gn_config_fa_auto(ssb_width: int, c: GNConfig = None): +def config_fa_auto(ssb_width: int, c: GNConfig = None): """Configure GNConfig struct for Fourier analysis where tones are automatically found. :param ssb_width: SSB width