Skip to content

Commit 9b81ebb

Browse files
committed
Change name to lilfilter
1 parent a342043 commit 9b81ebb

15 files changed

+12
-12
lines changed

filter_shape/optimize_filter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import torch
77
import torch.nn.functional as F
88
import matplotlib.pyplot as plt
9-
import filter_utils.filters as filters
9+
import lilfilter.filters as filters
1010
import argparse
1111

1212

@@ -120,7 +120,7 @@ def __main__():
120120
# frequency of pi, which corresponds to a frequency of 0.5. The sampling
121121
# rate in the time domain (the f_t values) is D, so the relative
122122
# frequency of the cutoff is 0.5 / D. (This would be the
123-
# arg to filter_utils.filters.high_pass_filter). This will make an
123+
# arg to lilfilter.filters.high_pass_filter). This will make an
124124
# inconveniently wide filter, though. We are already penalizing these high
125125
# energies explicitly in the fourier space, up to T * pi, so we only really
126126
# need to penalize in the time domain for frequencies above this; that means
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
setuptools.setup(
88
python_requires='>3.0.0',
9-
name="filter_utils",
9+
name="lilfilter",
1010
version="0.0.1",
1111
author="Daniel Povey",
1212
author_email="[email protected]",
1313
description="Utilities for filtering signals",
1414
long_description=long_description,
1515
long_description_content_type="text/markdown",
16-
url="https://github.com/danpovey/filter_utils",
16+
url="https://github.com/danpovey/filtering",
1717
packages=setuptools.find_packages(),
1818
install_requires=[
1919
'numpy', 'torch'

tests/test_filter_function.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Add .. to the PYTHONPATH
77
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
88

9-
import filter_utils.filter_function as f
9+
import lilfilter.filter_function as f
1010

1111

1212
class TestFilterFunction(unittest.TestCase):

tests/test_filters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Add .. to the PYTHONPATH
77
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
88

9-
from filter_utils.filters import *
9+
from lilfilter.filters import *
1010

1111

1212
class TestIsFilter(unittest.TestCase):

tests/test_local_amplitude.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Add .. to the PYTHONPATH
1010
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
1111

12-
import filter_utils.multistreamer as m
13-
import filter_utils.local_amplitude as local
12+
import lilfilter.multistreamer as m
13+
import lilfilter.local_amplitude as local
1414

1515

1616
class TestLocalAmplitude(unittest.TestCase):

tests/test_multistreamer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Add .. to the PYTHONPATH
1010
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
1111

12-
import filter_utils.multistreamer as m
12+
import lilfilter.multistreamer as m
1313

1414

1515
class TestMultistreamer(unittest.TestCase):

tests/test_resampler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Add .. to the PYTHONPATH
1010
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
1111

12-
import filter_utils.resampler as r
12+
import lilfilter.resampler as r
1313

1414

1515
class TestResampler(unittest.TestCase):

tests/test_torch_filter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# Add .. to the PYTHONPATH
99
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
1010

11-
import filter_utils.filters as F
12-
import filter_utils.torch_filter as T
11+
import lilfilter.filters as F
12+
import lilfilter.torch_filter as T
1313

1414

1515
class TestTorchFilter(unittest.TestCase):

0 commit comments

Comments
 (0)