-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added `Wavelet` class - Faster wavelet recomputation - Deprecated `wfiltfn` - Added `setup.py` and requirements
- Loading branch information
1 parent
8de2300
commit 8314572
Showing
11 changed files
with
354 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
setuptools>=41.0.0 | ||
twine>=1.15.0 | ||
coverage | ||
pytest | ||
pytest-cov | ||
pycode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
numpy | ||
numba | ||
matplotlib | ||
quadpy | ||
termcolor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import os | ||
import re | ||
from setuptools import setup, find_packages | ||
|
||
current_path = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
|
||
def read_file(*parts): | ||
with open(os.path.join(current_path, *parts), encoding='utf-8') as reader: | ||
return reader.read() | ||
|
||
|
||
def get_requirements(*parts): | ||
with open(os.path.join(current_path, *parts), encoding='utf-8') as reader: | ||
return list(map(lambda x: x.strip(), reader.readlines())) | ||
|
||
|
||
def find_version(*file_paths): | ||
version_file = read_file(*file_paths) | ||
version_matched = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", | ||
version_file, re.M) | ||
if version_matched: | ||
return version_matched.group(1) | ||
raise RuntimeError('Unable to find version') | ||
|
||
|
||
setup( | ||
name="ssqueezepy", | ||
version=find_version('ssqueezepy', '__init__.py'), | ||
packages=find_packages(exclude=['tests', 'examples']), | ||
url="https://github.com/OverLordGoldDragon/ssqueezepy", | ||
license="TBD", | ||
author="OverLordGoldDragon", | ||
author_email="16495490+OverLordGoldDragon@users.noreply.github.com", | ||
description=("Synchrosqueezing and wavelet transforms in Python"), | ||
long_description=read_file('README.md'), | ||
long_description_content_type="text/markdown", | ||
keywords=( | ||
"signal-processing python synchrosqueezing wavelet-transform" | ||
), | ||
install_requires=get_requirements('requirements.txt'), | ||
tests_require=["pytest>=4.0", "pytest-cov"], | ||
include_package_data=True, | ||
zip_safe=True, | ||
classifiers=[ | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Operating System :: OS Independent", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Utilities", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
from . import ssqueezing | ||
from . import _ssq_cwt | ||
from . import _cwt | ||
from . import synsq_stft | ||
from . import utils | ||
from . import synsq_stft | ||
from . import stft_transforms | ||
from . import experimental | ||
|
||
from .ssqueezing import * | ||
from ._ssq_cwt import * | ||
from ._cwt import * | ||
from .utils import * | ||
from .synsq_stft import * | ||
from .stft_transforms import * | ||
from .utils import * | ||
|
||
|
||
__version__ = '0.5.0rc1' | ||
__version__ = '0.5.0rc2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.