Skip to content

Commit 3edf0d1

Browse files
committed
Merge branch 'master' of https://github.com/PyWavelets/pywt into bug_cwt_complex_conjugate
2 parents 80ed17d + d872ef6 commit 3edf0d1

67 files changed

Lines changed: 1771 additions & 554 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ include = */pywt/*
55
omit =
66
*/version.py
77
*/pywt/tests/*
8+
*/pywt/_doc_utils.py*
89
*/pywt/data/create_dat.py
910
*.pxd
1011
stringsource

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tidelift: "pypi/PyWavelets"

.mailmap

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Aaron O'Leary <aaron.oleary@gmail.com> <eeaol@leeds.ac.uk>
2+
Alexandre Saint <snt.alex@gmail.com> asnt <snt.alex@gmail.com>
3+
Arthur Roullier <36152494+0-tree@users.noreply.github.com> 0-tree <36152494+0-tree@users.noreply.github.com>
4+
Daniel M. Pelt <d.m.pelt@cwi.nl> Daniel M Pelt <dmpelt@lbl.gov>
5+
Gregory R. Lee <grlee77@gmail.com> Gregory R. Lee <gregory.lee@cchmc.org>
6+
Gregory R. Lee <grlee77@gmail.com> Gregory Lee <grlee77@gmail.com>
7+
Helder Oliveira <heldercro@gmail.com> Helder <heldercro@gmail.com>
8+
Holger Nahrstaedt <holgernahrstaedt@gmx.de> Holger Nahrstaedt <holgern@users.noreply.github.com>
9+
Kai Wohlfahrt <kai.wohlfahrt@gmail.com> <kai.scorpio@gmail.com>
10+
Kai Wohlfahrt <kai.wohlfahrt@gmail.com> <kjw53@cam.ac.uk>
11+
Kai Wohlfahrt <kai.wohlfahrt@gmail.com> Kai <kai.scorpio@gmail.com>
12+
Ralf Gommers <ralf.gommers@gmail.com> <ralf.gommers@googlemail.com>
13+
Sylvain Lannuzel <sylvain.lannuzel@student.ecp.fr> SylvainLan <sylvain.lannuzel@student.ecp.fr>

.travis.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,32 @@ matrix:
1616
env:
1717
- NUMPYSPEC=numpy
1818
- MATPLOTLIBSPEC=matplotlib
19+
- CYTHONSPEC=cython
1920
- USE_WHEEL=1
2021
- os: linux
21-
python: 3.7-dev
22+
python: 3.7
23+
dist: xenial # travis-ci/travis-ci/issues/9815
24+
sudo: true
2225
env:
2326
- NUMPYSPEC=numpy
2427
- MATPLOTLIBSPEC=matplotlib
28+
- CYTHONSPEC=cython
2529
- USE_SDIST=1
30+
- USE_SCIPY=1
2631
- os: linux
2732
python: 3.5
2833
env:
2934
- NUMPYSPEC="numpy==1.13.3"
3035
- MATPLOTLIBSPEC=matplotlib
36+
- CYTHONSPEC="cython==0.23.5"
3137
- REFGUIDE_CHECK=1 # run doctests only
3238
- os: osx
3339
osx_image: xcode7.3
3440
language: objective-c
3541
env:
3642
- NUMPYSPEC=numpy
3743
- MATPLOTLIBSPEC=matplotlib
44+
- CYTHONSPEC=cython
3845
- TRAVIS_PYTHON_VERSION=3.5
3946

4047
cache: pip
@@ -51,9 +58,11 @@ before_install:
5158
# Set numpy version first, other packages link against it
5259
- pip install $NUMPYSPEC
5360
- pip install $MATPLOTLIBSPEC
54-
- pip install Cython nose coverage codecov futures
61+
- pip install $CYTHONSPEC
62+
- pip install pytest pytest-cov coverage codecov futures
5563
- set -o pipefail
5664
- if [ "${USE_WHEEL}" == "1" ]; then pip install wheel; fi
65+
- if [ "${USE_SCIPY}" == "1" ]; then pip install scipy; fi
5766
- |
5867
if [ "${REFGUIDE_CHECK}" == "1" ]; then
5968
pip install sphinx numpydoc
@@ -67,21 +76,26 @@ script:
6776
pip wheel . -v
6877
pip install PyWavelets*.whl -v
6978
pushd demo
70-
nosetests pywt
79+
pytest --pyargs pywt
80+
python ../pywt/tests/test_doc.py
7181
popd
7282
elif [ "${USE_SDIST}" == "1" ]; then
7383
python setup.py sdist
7484
# Move out of source directory to avoid finding local pywt
7585
pushd dist
7686
pip install PyWavelets* -v
77-
nosetests pywt
87+
pytest --pyargs pywt
88+
python ../pywt/tests/test_doc.py
7889
popd
7990
elif [ "${REFGUIDE_CHECK}" == "1" ]; then
8091
pip install -e . -v
8192
python util/refguide_check.py --doctests
8293
else
8394
CFLAGS="--coverage" python setup.py build --build-lib build/lib/ --build-temp build/tmp/
84-
nosetests build/lib/ --tests pywt/tests
95+
CFLAGS="--coverage" pip install -e . -v
96+
pushd demo
97+
pytest --pyargs pywt --cov=pywt
98+
popd
8599
fi
86100
87101
after_success:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Copyright (c) 2006-2012 Filip Wasilewski <http://en.ig.ma/>
2-
Copyright (c) 2012-2017 The PyWavelets Developers <https://github.com/PyWavelets/pywt>
2+
Copyright (c) 2012-2019 The PyWavelets Developers <https://github.com/PyWavelets/pywt>
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy of
55
this software and associated documentation files (the "Software"), to deal in

LICENSES_bundled.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
The PyWavelets repository and source distributions bundle some code that is
2+
adapted from compatibly licensed projects. We list these here.
3+
4+
Name: NumPy
5+
Files: pywt/_pytesttester.py
6+
License: 3-clause BSD
7+
8+
Name: SciPy
9+
Files: setup.py, util/*
10+
License: 3-clause BSD

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ recursive-include demo *
1515
include cythonize.dat
1616

1717
# Add build and testing tools
18-
include tox.ini
18+
include tox.ini pytest.ini
1919
recursive-include util *
2020

2121
# Exclude what we don't want to include

README.rst

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ For more usage examples see the `demo`_ directory in the source package.
6565
Installation
6666
------------
6767

68-
PyWavelets supports `Python`_ >=3.5, and is only dependent on `Numpy`_
68+
PyWavelets supports `Python`_ >=3.5, and is only dependent on `NumPy`_
6969
(supported versions are currently ``>= 1.13.3``). To pass all of the tests,
70-
`Matplotlib`_ is also required.
70+
`Matplotlib`_ is also required. `SciPy`_ is also an optional dependency. When
71+
present, FFT-based continuous wavelet transforms will use FFTs from SciPy
72+
rather than NumPy.
7173

7274
There are binary wheels for Intel Linux, Windows and macOS / OSX on PyPi. If
7375
you are on one of these platforms, you should get a binary (precompiled)
@@ -116,29 +118,43 @@ All contributions including bug reports, bug fixes, new feature implementations
116118
and documentation improvements are welcome. Moreover, developers with an
117119
interest in PyWavelets are very welcome to join the development team!
118120

121+
As of 2019, PyWavelets development is supported in part by Tidelift.
122+
`Help support PyWavelets with the Tidelift Subscription <https://tidelift.com/subscription/pkg/pypi-pywavelets?utm_source=pypi-pywavelets&utm_medium=referral&utm_campaign=readme>`_
123+
119124

120125
Contact
121126
-------
122127

123128
Use `GitHub Issues`_ or the `mailing list`_ to post your comments or questions.
124129

130+
**Report a security vulnerability:** https://tidelift.com/security
131+
125132
License
126133
-------
127134

128135
PyWavelets is a free Open Source software released under the MIT license.
129136

130-
If you wish to cite PyWavelets in a publication, you may use the following DOI.
137+
If you wish to cite PyWavelets in a publication, please use the following
138+
JOSS publication.
139+
140+
.. image:: http://joss.theoj.org/papers/10.21105/joss.01237/status.svg
141+
:target: https://doi.org/10.21105/joss.01237
142+
143+
Specific releases can also be cited via Zenodo. The DOI below will correspond
144+
to the most recent release. DOIs for past versions can be found by following
145+
the link in the badge below to Zenodo:
131146

132-
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1407172.svg
133-
:target: https://doi.org/10.5281/zenodo.1407172
147+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1407171.svg
148+
:target: https://doi.org/10.5281/zenodo.1407171
134149

135150
.. _built-in wavelet filters: http://wavelets.pybytes.com/
136151
.. _Cython: http://cython.org/
137152
.. _demo: https://github.com/PyWavelets/pywt/tree/master/demo
138153
.. _Anaconda: https://www.continuum.io
139154
.. _GitHub: https://github.com/PyWavelets/pywt
140155
.. _GitHub Issues: https://github.com/PyWavelets/pywt/issues
141-
.. _Numpy: http://www.numpy.org
156+
.. _NumPy: https://www.numpy.org
157+
.. _SciPy: https://www.scipy.org
142158
.. _original developer: http://en.ig.ma
143159
.. _Python: http://python.org/
144160
.. _Python Package Index: http://pypi.python.org/pypi/PyWavelets/

appveyor.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ install:
2323
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe -m pip install
2424
numpy --cache-dir c:\\tmp\\pip-cache"
2525
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe -m pip install
26-
Cython nose coverage matplotlib futures --cache-dir c:\\tmp\\pip-cache"
26+
Cython pytest coverage matplotlib futures --cache-dir c:\\tmp\\pip-cache"
2727

2828
test_script:
29-
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe setup.py build --build-lib build\\lib\\"
30-
- "%PYTHON%\\Scripts\\nosetests build\\lib --tests pywt\\tests"
29+
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe -m pip install -e . -v"
30+
- "cd demo"
31+
- "%PYTHON%\\Scripts\\pytest --pyargs pywt"
32+
- "cd .."
3133

3234
after_test:
3335
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"

benchmarks/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To record the results use:
3232

3333
asv publish
3434

35-
And to see the results via a web broweser, run:
35+
And to see the results via a web browser, run:
3636

3737
asv preview
3838

0 commit comments

Comments
 (0)