From 76c76ac0c988a9cfa25295d67fa77e5d141838b7 Mon Sep 17 00:00:00 2001 From: GarethCabournDavies Date: Fri, 24 Jan 2025 08:10:19 -0800 Subject: [PATCH] tools/timing/wav_perf.py imports --- tools/timing/match_perf.py | 7 +++---- tools/timing/wav_perf.py | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/tools/timing/match_perf.py b/tools/timing/match_perf.py index 34491beb1f9..3f676c14a3f 100755 --- a/tools/timing/match_perf.py +++ b/tools/timing/match_perf.py @@ -1,8 +1,7 @@ #!/usr/bin/env python -from pycbc.scheme import * -from pycbc.types import * -from pycbc.filter import * -from pycbc.psd import * +from pycbc.scheme import CPUScheme, CUDAScheme +from pycbc.types import TimeSeries, zeros, float32, complex64 +from pycbc.filter import make_frequency_series, match, matched_filter_core, overlap_cplx import pycbc from math import log import numpy diff --git a/tools/timing/wav_perf.py b/tools/timing/wav_perf.py index c4630e6a753..ab21d98cdf0 100755 --- a/tools/timing/wav_perf.py +++ b/tools/timing/wav_perf.py @@ -1,7 +1,7 @@ #!/usr/bin/python -from pycbc.scheme import * -from pycbc.types import * -from pycbc.waveform import * +from pycbc.scheme import CPUScheme, CUDAScheme +from pycbc.types import zeros, complex64 +from pycbc.waveform import get_fd_waveform import pycbc from optparse import OptionParser import gc