diff --git a/VERSION b/VERSION index d43ce0db95a27841ddfacc3fe81dbed2cefe434d..fcc45f323791438a44b50f5c53f3402815c74e16 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -ltfatpy:1.0.15 +ltfatpy:1.0.16 ltfat:2.1.0 diff --git a/doc/copyright.rst b/doc/copyright.rst index b5d89c5efe58b912b531038acacd66d65552b281..ccd6ee2e041a54215a82852b0ffb0f4864d363c4 100644 --- a/doc/copyright.rst +++ b/doc/copyright.rst @@ -30,7 +30,7 @@ synthesis. Version ------- -* ltfatpy version = 1.0.15 +* ltfatpy version = 1.0.16 * LTFAT version = 2.1.0 Licence diff --git a/ltfatpy/__init__.py b/ltfatpy/__init__.py index a9a586a177fdfd5df2f8471a5d342ce7dbe73542..e2c0d6b767c25035c5a0644835a475e994081ed9 100644 --- a/ltfatpy/__init__.py +++ b/ltfatpy/__init__.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence @@ -171,4 +171,4 @@ __all__ = ["arg_firwin", "assert_groworder", "assert_sigreshape_post", "long2fir", "normalize", "rms", "thresh", "lcm", "postpad"] -__version__ = "1.0.15" +__version__ = "1.0.16" diff --git a/ltfatpy/comp/arg_firwin.py b/ltfatpy/comp/arg_firwin.py index 291083f0f06f4110b1d239b65295d96fc0fbc95e..5137e33237ae7d4af9f6973d1075b24146d738f3 100644 --- a/ltfatpy/comp/arg_firwin.py +++ b/ltfatpy/comp/arg_firwin.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/assert_groworder.py b/ltfatpy/comp/assert_groworder.py index d31b769ec0da0ac7fce6623bf8b38580dc69423a..ce5770c65a90b50219746a5c39a77d68115c5bca 100644 --- a/ltfatpy/comp/assert_groworder.py +++ b/ltfatpy/comp/assert_groworder.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/assert_sigreshape_post.py b/ltfatpy/comp/assert_sigreshape_post.py index f14b9ed6d2094930930e4dc44361cf938b7478f4..d0c12c75c440fafc486920a5d39b2cc8e868b411 100644 --- a/ltfatpy/comp/assert_sigreshape_post.py +++ b/ltfatpy/comp/assert_sigreshape_post.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/assert_sigreshape_pre.py b/ltfatpy/comp/assert_sigreshape_pre.py index e579d17e11ebdaa0ed693216d6d27e1725e6a2a9..e68c11286a66b9114ba8ad94f983d28df382d2c4 100644 --- a/ltfatpy/comp/assert_sigreshape_pre.py +++ b/ltfatpy/comp/assert_sigreshape_pre.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_dct.pyx b/ltfatpy/comp/comp_dct.pyx index b895b9ea29f9c6372468542e40b52c6615e1abfe..3680ce9d00e3455e9dc790e19d6af27ece5dc9ca 100644 --- a/ltfatpy/comp/comp_dct.pyx +++ b/ltfatpy/comp/comp_dct.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_dst.pyx b/ltfatpy/comp/comp_dst.pyx index a9ec0ec49d3d0a59e2170bf05c064cf354b5920c..0ce98c4ebd6b6870f5994762d9286794e3eb54eb 100644 --- a/ltfatpy/comp/comp_dst.pyx +++ b/ltfatpy/comp/comp_dst.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_gabdual_long.pyx b/ltfatpy/comp/comp_gabdual_long.pyx index f902fe447e3bdb2f63fce7d4377da82f118c824c..2d9c0d45224b6e74ec1aff67fae7e4bd35668866 100644 --- a/ltfatpy/comp/comp_gabdual_long.pyx +++ b/ltfatpy/comp/comp_gabdual_long.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_gabtight_long.pyx b/ltfatpy/comp/comp_gabtight_long.pyx index f359e4ab46f4939c9219091ea3ac194f9203a5cf..003ccf184d5f9c2dd2553fe7556f5cdd1787b954 100644 --- a/ltfatpy/comp/comp_gabtight_long.pyx +++ b/ltfatpy/comp/comp_gabtight_long.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_hermite.py b/ltfatpy/comp/comp_hermite.py index 25783ee59d701d34857b836da97b61a50aef2510..39489db640d93e137ed4679422b71dc376a7a833 100644 --- a/ltfatpy/comp/comp_hermite.py +++ b/ltfatpy/comp/comp_hermite.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_hermite_all.py b/ltfatpy/comp/comp_hermite_all.py index e3f4e1ba90a38d89d021c3147cfc7184dc303cd6..1482ef2ef3ae1f44ca5f41a646f839c474413cf5 100644 --- a/ltfatpy/comp/comp_hermite_all.py +++ b/ltfatpy/comp/comp_hermite_all.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_isepdgt.pyx b/ltfatpy/comp/comp_isepdgt.pyx index 37114335e25e2c2cf25d691a7bf6b15f633c31e5..3a7cf1dcf5965dc7b8a6cc2b0ff83ce4eee9d6dc 100644 --- a/ltfatpy/comp/comp_isepdgt.pyx +++ b/ltfatpy/comp/comp_isepdgt.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_isepdgtreal.pyx b/ltfatpy/comp/comp_isepdgtreal.pyx index 49a772962c92d0f4a408170d9ea256845fab9915..1f0cd7cf9e77761315a026be13c77adcb49be61d 100644 --- a/ltfatpy/comp/comp_isepdgtreal.pyx +++ b/ltfatpy/comp/comp_isepdgtreal.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_pgauss.pyx b/ltfatpy/comp/comp_pgauss.pyx index 9cd40763d63d5b94d7bfce9e2d083231271a827b..7aec05ad7050cae3cde887a752ea95c21d62029f 100644 --- a/ltfatpy/comp/comp_pgauss.pyx +++ b/ltfatpy/comp/comp_pgauss.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_sepdgt.pyx b/ltfatpy/comp/comp_sepdgt.pyx index 0192d8c8d6b2dc212bf5ff93ea89c3ca142576fe..18e5da44bee77c26103272c7ec9d60bd049e628c 100644 --- a/ltfatpy/comp/comp_sepdgt.pyx +++ b/ltfatpy/comp/comp_sepdgt.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_sepdgtreal.pyx b/ltfatpy/comp/comp_sepdgtreal.pyx index 613940a5c27a7df28a8af85dab078adcb4faeae9..98526c1569ebfbd61581263fe4c4956678be9a04 100644 --- a/ltfatpy/comp/comp_sepdgtreal.pyx +++ b/ltfatpy/comp/comp_sepdgtreal.pyx @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_sigreshape_post.py b/ltfatpy/comp/comp_sigreshape_post.py index 6ffc35925723afed70442aaf1c3218705302e657..4bcb658eb011e3d87a8645e93c245599e4b90541 100644 --- a/ltfatpy/comp/comp_sigreshape_post.py +++ b/ltfatpy/comp/comp_sigreshape_post.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_sigreshape_pre.py b/ltfatpy/comp/comp_sigreshape_pre.py index cfff6d4b672372ece51f5ac022fd3d65c0a0f6a3..2d684f6bb9a97a14c9e0b6dd57e175b22c672ca9 100644 --- a/ltfatpy/comp/comp_sigreshape_pre.py +++ b/ltfatpy/comp/comp_sigreshape_pre.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/comp_window.py b/ltfatpy/comp/comp_window.py index e0122a2c90d84c38b8144b73ea9c098b0f3d9ad7..6689980435fdf00f2ddd7ad438ef3a4d6d17c27b 100644 --- a/ltfatpy/comp/comp_window.py +++ b/ltfatpy/comp/comp_window.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/gabpars_from_windowsignal.py b/ltfatpy/comp/gabpars_from_windowsignal.py index 5040a0b709a470bf5fdaa0ca11c22210a3025f80..1078550ab3845d384f978726f707bc9832a3456f 100644 --- a/ltfatpy/comp/gabpars_from_windowsignal.py +++ b/ltfatpy/comp/gabpars_from_windowsignal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/comp/ltfat.pxd b/ltfatpy/comp/ltfat.pxd index f8baefcce664db4cc58cff318fe3eaf7ed883a08..d890fedf86447597c3d16a1d8f11dbe7da11908f 100644 --- a/ltfatpy/comp/ltfat.pxd +++ b/ltfatpy/comp/ltfat.pxd @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dcti.py b/ltfatpy/fourier/dcti.py index 4f62457bfab7ac3470adb9bc9b968ea4ef8a68d8..921fc34fd72ba074587f29379b5e126c24046cbb 100644 --- a/ltfatpy/fourier/dcti.py +++ b/ltfatpy/fourier/dcti.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dctii.py b/ltfatpy/fourier/dctii.py index aea17f018d89047d3e2e74480ae07e12fc5f546f..8187759b2d0d19aa8f88a7732bd558cb574faaea 100644 --- a/ltfatpy/fourier/dctii.py +++ b/ltfatpy/fourier/dctii.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dctiii.py b/ltfatpy/fourier/dctiii.py index 1752fe2e4f3081ff9cb800d401248a202fa29ad6..347fb553761bc7424c99616bf315dddb4d0cea27 100644 --- a/ltfatpy/fourier/dctiii.py +++ b/ltfatpy/fourier/dctiii.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dctiv.py b/ltfatpy/fourier/dctiv.py index f7a4e7140a67fc1f5ed482d79192c2de6394f91d..c8fcd34e1110137b35c233687f96b03592962def 100644 --- a/ltfatpy/fourier/dctiv.py +++ b/ltfatpy/fourier/dctiv.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dft.py b/ltfatpy/fourier/dft.py index ce83c3026d7913b4d12191e6fe935c398853a9f8..c7cc199d40fa01ab42c1f56a1d71547974dac57c 100644 --- a/ltfatpy/fourier/dft.py +++ b/ltfatpy/fourier/dft.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dsti.py b/ltfatpy/fourier/dsti.py index d611073ad6881eae1e692d051fb9f0a3204d20d2..ec3c141376d7bc86e7763683108b16251b9c1696 100644 --- a/ltfatpy/fourier/dsti.py +++ b/ltfatpy/fourier/dsti.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dstii.py b/ltfatpy/fourier/dstii.py index 6c40d8714d2c48b2b277a13a3464196b3434e888..6c71f02eae4016dd8c49c142b92d047ff9ffe584 100644 --- a/ltfatpy/fourier/dstii.py +++ b/ltfatpy/fourier/dstii.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dstiii.py b/ltfatpy/fourier/dstiii.py index 12504449b29555ba0e06f90cb0d378d0c361c87e..1401a7fdb03a68baaa6d061c20c9370087cc5988 100644 --- a/ltfatpy/fourier/dstiii.py +++ b/ltfatpy/fourier/dstiii.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/dstiv.py b/ltfatpy/fourier/dstiv.py index 9eec6a7705ed26fb2a08927a247cf71eddf3a61f..13948246b98a0a26377c733ee509d4056af6ebb0 100644 --- a/ltfatpy/fourier/dstiv.py +++ b/ltfatpy/fourier/dstiv.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/fftindex.py b/ltfatpy/fourier/fftindex.py index 0977dcf7fb58ebcf8d695d5992e359390db442d4..b26395a8e34d07046516ef0b4186d35df04bd497 100644 --- a/ltfatpy/fourier/fftindex.py +++ b/ltfatpy/fourier/fftindex.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/fftreal.py b/ltfatpy/fourier/fftreal.py index 13dfbaa1d1883bde4842bbe7d0bd0fd1e9ad965a..3148e0d76e46407ebae8e511055c201061566d88 100644 --- a/ltfatpy/fourier/fftreal.py +++ b/ltfatpy/fourier/fftreal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/fftresample.py b/ltfatpy/fourier/fftresample.py index 880c57cb21cb2ebe239d4af6198cb3b9490f37e2..c871ccdc87f9b5315443e27f3a493a6ea00d7d66 100644 --- a/ltfatpy/fourier/fftresample.py +++ b/ltfatpy/fourier/fftresample.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/idft.py b/ltfatpy/fourier/idft.py index 3ac122bf19b70784bb12c62ca17c7398f37e4592..bf31c81f4411abc13ac067fe2288bfecce98ec8d 100644 --- a/ltfatpy/fourier/idft.py +++ b/ltfatpy/fourier/idft.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/ifftreal.py b/ltfatpy/fourier/ifftreal.py index 5061978aa7fc2d631cee2bd8441c302cdc002f8c..5e0024a36da5c014234615294ee9f56cbf239e83 100644 --- a/ltfatpy/fourier/ifftreal.py +++ b/ltfatpy/fourier/ifftreal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/isevenfunction.py b/ltfatpy/fourier/isevenfunction.py index d64450fd03066386a296861b3020c123225bbbc2..ba15186c1744b1e007edf798c94fc3c11d0a5adf 100644 --- a/ltfatpy/fourier/isevenfunction.py +++ b/ltfatpy/fourier/isevenfunction.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/middlepad.py b/ltfatpy/fourier/middlepad.py index 85553a0e1be58300621e169579142ed31daf0bbf..f72901f1044dcc95cffd69d19d91d54d1b018b73 100644 --- a/ltfatpy/fourier/middlepad.py +++ b/ltfatpy/fourier/middlepad.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/pderiv.py b/ltfatpy/fourier/pderiv.py index 840ae77f3350315eee06a5ce8d0e72774c523eea..163227d22dd57ecb14a3cc81dfffdca2b920c7d5 100644 --- a/ltfatpy/fourier/pderiv.py +++ b/ltfatpy/fourier/pderiv.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/pgauss.py b/ltfatpy/fourier/pgauss.py index f3f4f901795f354a8fb829c224450dbde2986e12..2cf87b98ec982cb5cace7662adfbf42b6411c109 100644 --- a/ltfatpy/fourier/pgauss.py +++ b/ltfatpy/fourier/pgauss.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/pherm.py b/ltfatpy/fourier/pherm.py index 5abc2a59999b65e6c87aa7c97b303b284c343a30..4c8c7551e87d86d9e84aabbe4d663b9c754dfac5 100644 --- a/ltfatpy/fourier/pherm.py +++ b/ltfatpy/fourier/pherm.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/fourier/psech.py b/ltfatpy/fourier/psech.py index dc218be0e67775f72a5e03a221f94fc7a7d108ca..ff375e1cbdac8901b17be557d44bf38e27d2fb55 100644 --- a/ltfatpy/fourier/psech.py +++ b/ltfatpy/fourier/psech.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/dgt.py b/ltfatpy/gabor/dgt.py index 05ff507978acccd65b72e670b300e730c842bd56..6f1eabc47b1b8377d8fabfd377e199404392773c 100644 --- a/ltfatpy/gabor/dgt.py +++ b/ltfatpy/gabor/dgt.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/dgtlength.py b/ltfatpy/gabor/dgtlength.py index 69bd9ff6ab85b5d7ea1518bde3be0f255705526b..cd94b0a28fec075b20133705b968c3d4dff11e7e 100644 --- a/ltfatpy/gabor/dgtlength.py +++ b/ltfatpy/gabor/dgtlength.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/dgtreal.py b/ltfatpy/gabor/dgtreal.py index b011a291529b197d7d06c482e4c879def8b51fb8..4a39516e736372fcd983bb8cf3218a0a3b92e0f9 100644 --- a/ltfatpy/gabor/dgtreal.py +++ b/ltfatpy/gabor/dgtreal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/gabdual.py b/ltfatpy/gabor/gabdual.py index 04624ed658a436583f6debbf5bb6876611e5892f..42267098778353641a15c58bf60a48cca2f60126 100644 --- a/ltfatpy/gabor/gabdual.py +++ b/ltfatpy/gabor/gabdual.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/gabframediag.py b/ltfatpy/gabor/gabframediag.py index ed0deb28263ea7d64e0965f8fae2dd9e68e29767..4f9f0e95469be16c379f89ab7df88f498aef07ad 100644 --- a/ltfatpy/gabor/gabframediag.py +++ b/ltfatpy/gabor/gabframediag.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/gabimagepars.py b/ltfatpy/gabor/gabimagepars.py index db059b735c707fbaf21380ef24bb2b2eb57e4bd3..59242a5af67c41ce372d4a6da2c8d2dd5eb47d14 100644 --- a/ltfatpy/gabor/gabimagepars.py +++ b/ltfatpy/gabor/gabimagepars.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/gabphasegrad.py b/ltfatpy/gabor/gabphasegrad.py index e1cdaacefe3195d79a1dfa8bb4cf5579da908d89..eed5911d1659e11d597578859f459cb86b50e4a5 100644 --- a/ltfatpy/gabor/gabphasegrad.py +++ b/ltfatpy/gabor/gabphasegrad.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/gabtight.py b/ltfatpy/gabor/gabtight.py index 0b8f3fd1784e6b2af655338650513869f590637a..4d4d9d4491d1522b47d9e6fd05bfaa3661455549 100644 --- a/ltfatpy/gabor/gabtight.py +++ b/ltfatpy/gabor/gabtight.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/gabwin.py b/ltfatpy/gabor/gabwin.py index c386097a1e025cc41890b43597e59b4763f8ff90..06566a62aac4ec2791b12796e32dbd9622d4b8a5 100644 --- a/ltfatpy/gabor/gabwin.py +++ b/ltfatpy/gabor/gabwin.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/idgt.py b/ltfatpy/gabor/idgt.py index 16e09705171ed34f67bba441a6423699c826f41c..cffc0a283a0d6f535e73a732dc8ffb3112dc09b9 100644 --- a/ltfatpy/gabor/idgt.py +++ b/ltfatpy/gabor/idgt.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/idgtreal.py b/ltfatpy/gabor/idgtreal.py index 23b04ddb19acf5b61a693bf443b52bb88a88693d..25aa6f5142a5c0f12aa6a93e551d935aca03f7ce 100644 --- a/ltfatpy/gabor/idgtreal.py +++ b/ltfatpy/gabor/idgtreal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/instfreqplot.py b/ltfatpy/gabor/instfreqplot.py index 10bc96523e20ba6388b832cebeafa023a953a9f6..549884766ff3995b2ff6e815a5d9e88c13e86faa 100644 --- a/ltfatpy/gabor/instfreqplot.py +++ b/ltfatpy/gabor/instfreqplot.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/phaselock.py b/ltfatpy/gabor/phaselock.py index 1e98356d12d10bceee347f6c6dc7f1e43feb61b0..a3f6d465cd1641bc5dd56ee8d1c68105d83d4e97 100644 --- a/ltfatpy/gabor/phaselock.py +++ b/ltfatpy/gabor/phaselock.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/phaseplot.py b/ltfatpy/gabor/phaseplot.py index 9e1c92db9a7dd48927840ca5bb8125e805e48fbc..e539f73aca7076025b9c92dd48b747e941b7fa7a 100644 --- a/ltfatpy/gabor/phaseplot.py +++ b/ltfatpy/gabor/phaseplot.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/phaseunlock.py b/ltfatpy/gabor/phaseunlock.py index 79d4ea05a1aec8b9f77c2d031e3f02a51d4169f8..2a70fcddbc876b9fe4bbf3b515a8c28575b68041 100644 --- a/ltfatpy/gabor/phaseunlock.py +++ b/ltfatpy/gabor/phaseunlock.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/plotdgt.py b/ltfatpy/gabor/plotdgt.py index d5842dcbe3f5cb5f024de7f00f2a0ba65916026c..e78ab54e4a810aed6ec43d8fb4ec474f1e9962ef 100644 --- a/ltfatpy/gabor/plotdgt.py +++ b/ltfatpy/gabor/plotdgt.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/plotdgtreal.py b/ltfatpy/gabor/plotdgtreal.py index a592b706fbbe98c695ac5946e34507fd8b65311f..81400dcbf892cbea9335d83c6c816f5ef7b02968 100644 --- a/ltfatpy/gabor/plotdgtreal.py +++ b/ltfatpy/gabor/plotdgtreal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/s0norm.py b/ltfatpy/gabor/s0norm.py index 7f9e6957f509b65dcbad92387f702278dfe9aa3b..5ad43a8c6c6e928a769dc8befb4ba4bfc4990a83 100644 --- a/ltfatpy/gabor/s0norm.py +++ b/ltfatpy/gabor/s0norm.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/sgram.py b/ltfatpy/gabor/sgram.py index ea22503106c7140fb2ced2463ad6b83278a4d701..5ab567dd3c4bab03a23910c45993fa62c9941010 100644 --- a/ltfatpy/gabor/sgram.py +++ b/ltfatpy/gabor/sgram.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/gabor/tfplot.py b/ltfatpy/gabor/tfplot.py index 45574ce96bc4c0bf9c1e6f407a49376555f00b9f..9ea92a47a7900ac422e5486877c580e422c1f163 100644 --- a/ltfatpy/gabor/tfplot.py +++ b/ltfatpy/gabor/tfplot.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/signals/greasy.py b/ltfatpy/signals/greasy.py index 718f1688aa82989983c400867efd27ce4f790e90..b8230a27b37e920a91d5463a2c4edf31ef1e5d14 100644 --- a/ltfatpy/signals/greasy.py +++ b/ltfatpy/signals/greasy.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/signals/gspi.py b/ltfatpy/signals/gspi.py index cbac670e0613d785c5fd53ba566c22501555e4ec..e83a3a64e47523c92dc1a4fde69e86bbd020c03a 100644 --- a/ltfatpy/signals/gspi.py +++ b/ltfatpy/signals/gspi.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/signals/linus.py b/ltfatpy/signals/linus.py index 5e329685396f1c2217afaff61392c9da664f5a25..9877bd328f5430be4888bfdd0e3abbab9d40f290 100644 --- a/ltfatpy/signals/linus.py +++ b/ltfatpy/signals/linus.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/fir2long.py b/ltfatpy/sigproc/fir2long.py index 00e40d32b1c078738c33533eb0baef4d631e847f..1a4bd3327667f7a02271ad8c85e49c96e9c55a03 100644 --- a/ltfatpy/sigproc/fir2long.py +++ b/ltfatpy/sigproc/fir2long.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/firkaiser.py b/ltfatpy/sigproc/firkaiser.py index 25b63290980c60a098b4aeec3e0f675292044467..2580c274cc81f667845894a55068931064b36b74 100644 --- a/ltfatpy/sigproc/firkaiser.py +++ b/ltfatpy/sigproc/firkaiser.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/firwin.py b/ltfatpy/sigproc/firwin.py index 7bdb48c7f89c9ab715885ba639e631d382929589..93d0d25c954307a4f43efc87da9eb05b2d1c2eb9 100644 --- a/ltfatpy/sigproc/firwin.py +++ b/ltfatpy/sigproc/firwin.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/groupthresh.py b/ltfatpy/sigproc/groupthresh.py index b224b1ae9b935bf1218521b8d6de4ee9a68aed2d..03081b786e9836d6d9024ef243797b84b1afaa83 100644 --- a/ltfatpy/sigproc/groupthresh.py +++ b/ltfatpy/sigproc/groupthresh.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/largestn.py b/ltfatpy/sigproc/largestn.py index 0ca4b5cfc14cb13b8013cc99c097e974a8dd4db1..f6907f08131701f013b4de911baab542b6cae53d 100644 --- a/ltfatpy/sigproc/largestn.py +++ b/ltfatpy/sigproc/largestn.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/largestr.py b/ltfatpy/sigproc/largestr.py index 40580fd8552a1716116d4e88328c2b4e029b1656..2eb55def6b0b890c54da0729656e76ab3f626875 100644 --- a/ltfatpy/sigproc/largestr.py +++ b/ltfatpy/sigproc/largestr.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/long2fir.py b/ltfatpy/sigproc/long2fir.py index c07d60dc4958ee4bd17a60e3f96eb6b42a139f58..ad2670b7a94517edf66415a5531508f7f08889b6 100644 --- a/ltfatpy/sigproc/long2fir.py +++ b/ltfatpy/sigproc/long2fir.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/normalize.py b/ltfatpy/sigproc/normalize.py index 19efcbe751605b0d06a162ac551ecd3165dab132..1cf55fc5065127d30248bc01a1c279d6bf040a6d 100644 --- a/ltfatpy/sigproc/normalize.py +++ b/ltfatpy/sigproc/normalize.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/rms.py b/ltfatpy/sigproc/rms.py index 8e9a0afd7c564682c1bd3a9116d11bdf97ed247b..a1ef1fbe6d44b8cc758d2427e01e667b16fb62d1 100644 --- a/ltfatpy/sigproc/rms.py +++ b/ltfatpy/sigproc/rms.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/sigproc/thresh.py b/ltfatpy/sigproc/thresh.py index 53979bd5e06716949542027ba80cc0aea3ce537a..68feec19f816b695edd5da98d7ec6ba5e6344fe1 100644 --- a/ltfatpy/sigproc/thresh.py +++ b/ltfatpy/sigproc/thresh.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_assert_sigreshape_post.py b/ltfatpy/tests/comp/test_assert_sigreshape_post.py index fa586198005de8b959512cda09723d857a4c7238..27020e693040fa5b7a7bf0d79f72dcddd823683c 100644 --- a/ltfatpy/tests/comp/test_assert_sigreshape_post.py +++ b/ltfatpy/tests/comp/test_assert_sigreshape_post.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_assert_sigreshape_pre.py b/ltfatpy/tests/comp/test_assert_sigreshape_pre.py index cd8429ebbec1194f9e003e3ca1ab92064a745928..4acddc490a79bd7a5456c12b2a756701493ef6d0 100644 --- a/ltfatpy/tests/comp/test_assert_sigreshape_pre.py +++ b/ltfatpy/tests/comp/test_assert_sigreshape_pre.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_comp_dct.py b/ltfatpy/tests/comp/test_comp_dct.py index fabd4b40de61f23c85949d52505820570470094f..8173dd61732efa21c7ccd787d74edf721042ae72 100644 --- a/ltfatpy/tests/comp/test_comp_dct.py +++ b/ltfatpy/tests/comp/test_comp_dct.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_comp_dst.py b/ltfatpy/tests/comp/test_comp_dst.py index 9716412815fd500dfe83a16a655560909dabc36a..fdddfbb304bf4729d53bed24b27a914ddab9d476 100644 --- a/ltfatpy/tests/comp/test_comp_dst.py +++ b/ltfatpy/tests/comp/test_comp_dst.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_comp_gabdual.py b/ltfatpy/tests/comp/test_comp_gabdual.py index a3528d5f116be29ace22cc7212521293087f7657..066980307362e776361a3b6d84b625ddb725db24 100644 --- a/ltfatpy/tests/comp/test_comp_gabdual.py +++ b/ltfatpy/tests/comp/test_comp_gabdual.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence @@ -80,12 +80,16 @@ class TestCompGabDual(unittest.TestCase): # g should be float64 or complex128 g = np.arange(9) mess = "g data should be numpy.float64 or numpy.complex128" - self.assertRaisesRegexp(TypeError, mess, comp_gabdual_long, g, 0, 0) + try: + assertRaisesRegex = self.assertRaisesRegex + except AttributeError: + assertRaisesRegex = self.assertRaisesRegexp + assertRaisesRegex(TypeError, mess, comp_gabdual_long, g, 0, 0) g = g.astype(np.float64) # g dim should be < 3 mess = "g dimensions should be 1 or 2." - self.assertRaisesRegexp(TypeError, mess, comp_gabdual_long, - g.reshape((3, 1, 3)), 0, 0) + assertRaisesRegex( + TypeError, mess, comp_gabdual_long, g.reshape((3, 1, 3)), 0, 0) # basic test: g.resize((3, 3)) gd = comp_gabdual_long(g, 1, 1) diff --git a/ltfatpy/tests/comp/test_comp_hermite.py b/ltfatpy/tests/comp/test_comp_hermite.py index c4ef5d4a61b0cb8b51b160d925efd7e5dc14c20a..682d78f824c0cb1914d0dfd32c451f980e840d16 100644 --- a/ltfatpy/tests/comp/test_comp_hermite.py +++ b/ltfatpy/tests/comp/test_comp_hermite.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_comp_hermite_all.py b/ltfatpy/tests/comp/test_comp_hermite_all.py index 8cf27384918ca5ae4a4a271e2bd280fce7ebdccf..d759ee1abd9e28c1692880c39af98f01b0d2ad38 100644 --- a/ltfatpy/tests/comp/test_comp_hermite_all.py +++ b/ltfatpy/tests/comp/test_comp_hermite_all.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_comp_isepdgt.py b/ltfatpy/tests/comp/test_comp_isepdgt.py index ae8f5594250705f19e2a0a744782aa8b3f2ab2fd..df1e4d3517b6176986ea466efc46617beb1faacb 100644 --- a/ltfatpy/tests/comp/test_comp_isepdgt.py +++ b/ltfatpy/tests/comp/test_comp_isepdgt.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_comp_pgauss.py b/ltfatpy/tests/comp/test_comp_pgauss.py index bc10a2de43f3e44d75380eb81661b9c84fb9e49d..9ede0c50dfa1e6b39c358899745b88b35f616104 100644 --- a/ltfatpy/tests/comp/test_comp_pgauss.py +++ b/ltfatpy/tests/comp/test_comp_pgauss.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_comp_sepdgt.py b/ltfatpy/tests/comp/test_comp_sepdgt.py index ffd47f24cb8deaf94ad8bfc87b8cc3e3267696a9..0514faf39a45fb056aac04756a4518b4b21d59f0 100644 --- a/ltfatpy/tests/comp/test_comp_sepdgt.py +++ b/ltfatpy/tests/comp/test_comp_sepdgt.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/comp/test_comp_sigreshape.py b/ltfatpy/tests/comp/test_comp_sigreshape.py index 6d0196c76bc76d3d266c721c3003106416c502f3..63fa1ea6c24a467dc5c4fb3b7d90382cfe42ebe5 100644 --- a/ltfatpy/tests/comp/test_comp_sigreshape.py +++ b/ltfatpy/tests/comp/test_comp_sigreshape.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/get_dataset_path.py b/ltfatpy/tests/datasets/get_dataset_path.py index 2f560d442081ccd324222f7bc1e55487fd444a6d..024bff1bb3bb6f4c4579c0487c83347d4c974b6e 100644 --- a/ltfatpy/tests/datasets/get_dataset_path.py +++ b/ltfatpy/tests/datasets/get_dataset_path.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/read_comp_dct_signal_ex_mat.py b/ltfatpy/tests/datasets/read_comp_dct_signal_ex_mat.py index 8a0c3f8cc2037904818b9e24a236c86b10fdbc2b..a1707462ab2d5216fde3b8f3fe209e58f575646f 100644 --- a/ltfatpy/tests/datasets/read_comp_dct_signal_ex_mat.py +++ b/ltfatpy/tests/datasets/read_comp_dct_signal_ex_mat.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/read_comp_dst_signal_ex_mat.py b/ltfatpy/tests/datasets/read_comp_dst_signal_ex_mat.py index 2915391becec8087b2598f731d6507bac93a3f22..4306ebd17e0e1c10aa1689e4995f59f3ae94c577 100644 --- a/ltfatpy/tests/datasets/read_comp_dst_signal_ex_mat.py +++ b/ltfatpy/tests/datasets/read_comp_dst_signal_ex_mat.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/read_dgt_signal_ex_mat.py b/ltfatpy/tests/datasets/read_dgt_signal_ex_mat.py index 24864b0351d1aabd4c989c519f445f437e228fc1..77ee32bee19755bcb7cac011bd16b0af5ac75593 100644 --- a/ltfatpy/tests/datasets/read_dgt_signal_ex_mat.py +++ b/ltfatpy/tests/datasets/read_dgt_signal_ex_mat.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/read_gabframediag_signal_ex_mat.py b/ltfatpy/tests/datasets/read_gabframediag_signal_ex_mat.py index 2c344b342908a32c8a91becee7d52878cb166257..270c1fbf9cc83a4dfaa8ffb438eff1009b2b75db 100644 --- a/ltfatpy/tests/datasets/read_gabframediag_signal_ex_mat.py +++ b/ltfatpy/tests/datasets/read_gabframediag_signal_ex_mat.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/read_gabtight_signal_ex_mat.py b/ltfatpy/tests/datasets/read_gabtight_signal_ex_mat.py index 2df458edc1cd4ee5928dcf2a01cce908d5c51395..69feb4725616977c938e348e25f13055e8abeebd 100644 --- a/ltfatpy/tests/datasets/read_gabtight_signal_ex_mat.py +++ b/ltfatpy/tests/datasets/read_gabtight_signal_ex_mat.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/read_ref_mat.py b/ltfatpy/tests/datasets/read_ref_mat.py index 415101e41f359d3010715c208d29152884b4dda4..528f867ff7568c90a39edb0b511514bf1a609ef7 100644 --- a/ltfatpy/tests/datasets/read_ref_mat.py +++ b/ltfatpy/tests/datasets/read_ref_mat.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/read_s0norm_ex_mat.py b/ltfatpy/tests/datasets/read_s0norm_ex_mat.py index 2e8a818780a22ed0e2b47a23aebb39c409d318a2..a66b4d5a190103a902730e643e4d1140f23dfb42 100644 --- a/ltfatpy/tests/datasets/read_s0norm_ex_mat.py +++ b/ltfatpy/tests/datasets/read_s0norm_ex_mat.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/datasets/test_read_dgt_signal_ext.py b/ltfatpy/tests/datasets/test_read_dgt_signal_ext.py index b59ab0b0dea5f828e3be50d001418c8fafb0bc4f..cae0111c18990da859ecf1e3a3e015958809194d 100644 --- a/ltfatpy/tests/datasets/test_read_dgt_signal_ext.py +++ b/ltfatpy/tests/datasets/test_read_dgt_signal_ext.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence @@ -62,9 +62,16 @@ from __future__ import print_function, division import unittest -from ltfatpy.tests.datasets.read_dgt_signal_ex_mat import DgtSignals import numpy -import fractions +try: + from math import gcd +except ImportError: + # fractions.gcd() is deprecated since Python 3.5 and math.gcd() should be + # used instead, but for backward compatibilty we use fractions.gcd() if + # math.gcd() is not available + from fractions import gcd + +from ltfatpy.tests.datasets.read_dgt_signal_ex_mat import DgtSignals from ltfatpy.tests.datasets.get_dataset_path import get_dataset_path @@ -107,7 +114,7 @@ class TestReadDgtSignalExt(unittest.TestCase): if (gl == M): assert DUAL_WINDOW.size == gl elif (a != M): - assert DUAL_WINDOW.size == a * M // fractions.gcd(a, M) + assert DUAL_WINDOW.size == a * M // gcd(a, M) else: assert DUAL_WINDOW.size == a * 2 diff --git a/ltfatpy/tests/datasets/test_read_ref_mat.py b/ltfatpy/tests/datasets/test_read_ref_mat.py index 97a1dafbfe18e740f04d0cfbcf90edc0b3b184e7..87916070be39088bc7f3b2a3cc209d4447caa711 100644 --- a/ltfatpy/tests/datasets/test_read_ref_mat.py +++ b/ltfatpy/tests/datasets/test_read_ref_mat.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_dct.py b/ltfatpy/tests/fourier/test_dct.py index 6af2ab950ba79db5a242a0801fd7284c3bb88d29..d50fe1525683749234ce20f64cf6db300464bcf5 100644 --- a/ltfatpy/tests/fourier/test_dct.py +++ b/ltfatpy/tests/fourier/test_dct.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_dft.py b/ltfatpy/tests/fourier/test_dft.py index 5ee5abc76a39fe7734cd97e16e040552e6f2d536..e3360aa61b3b42aa1238d29cb6434ab045a1cec2 100644 --- a/ltfatpy/tests/fourier/test_dft.py +++ b/ltfatpy/tests/fourier/test_dft.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_dst.py b/ltfatpy/tests/fourier/test_dst.py index faca2d711d2521fc58ef7e17fc450375d1e23096..588c4b0f7e3cca3e4bfb152ad1a10b561efa3b46 100644 --- a/ltfatpy/tests/fourier/test_dst.py +++ b/ltfatpy/tests/fourier/test_dst.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_fftindex.py b/ltfatpy/tests/fourier/test_fftindex.py index a2db2685370c3f6d80234964d1d93e184aa96fda..1e3d8893b69fa896fd948b5eff700392473ce791 100644 --- a/ltfatpy/tests/fourier/test_fftindex.py +++ b/ltfatpy/tests/fourier/test_fftindex.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_fftreal.py b/ltfatpy/tests/fourier/test_fftreal.py index d9f3a0335617e332e793175681518e8fb009947f..e60e62bdd2d43b94196ccb00d84d2612c34022c1 100644 --- a/ltfatpy/tests/fourier/test_fftreal.py +++ b/ltfatpy/tests/fourier/test_fftreal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_fftresample.py b/ltfatpy/tests/fourier/test_fftresample.py index e140cb524ca6a1e84fe53d960c2c5fdaf6a2642e..422cd0908bacd34084318be52b69cdf384ae54cc 100644 --- a/ltfatpy/tests/fourier/test_fftresample.py +++ b/ltfatpy/tests/fourier/test_fftresample.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_idft.py b/ltfatpy/tests/fourier/test_idft.py index ae3e92014bd7c398387a7748a9ab1d37333c6aad..e75fbfbe6e7018dc843ab375cd4a92875e460248 100644 --- a/ltfatpy/tests/fourier/test_idft.py +++ b/ltfatpy/tests/fourier/test_idft.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_ifftreal.py b/ltfatpy/tests/fourier/test_ifftreal.py index 1e117d1822df7ee08b640e16aa899d0e939a93ec..e8102e499eb10d99bb1cae56f0b3151148fe6ead 100644 --- a/ltfatpy/tests/fourier/test_ifftreal.py +++ b/ltfatpy/tests/fourier/test_ifftreal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_isevenfunction.py b/ltfatpy/tests/fourier/test_isevenfunction.py index e0bc3ea93982846c107db37dc90be6b9045403bc..8d2c60e6d15663afbb47e37e1a186eb76917e4fb 100644 --- a/ltfatpy/tests/fourier/test_isevenfunction.py +++ b/ltfatpy/tests/fourier/test_isevenfunction.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_middlepad.py b/ltfatpy/tests/fourier/test_middlepad.py index d8d7e04999e8ebf34145a7d980a796629fd1bddf..98bd65e3c8357d81565e887ac301f5a6ea19147b 100644 --- a/ltfatpy/tests/fourier/test_middlepad.py +++ b/ltfatpy/tests/fourier/test_middlepad.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_pderiv.py b/ltfatpy/tests/fourier/test_pderiv.py index 1adb458f0a92059196968e2ffb9657a9b6c0e8fe..8a40721773b50152723f6a4eb6902cbc29d721c9 100644 --- a/ltfatpy/tests/fourier/test_pderiv.py +++ b/ltfatpy/tests/fourier/test_pderiv.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_pgauss.py b/ltfatpy/tests/fourier/test_pgauss.py index 03d0ab71ffe420c903563a753cb55d6d9a7307fe..ea133be41fa457454e5d551741c2ea550fcc4d4c 100644 --- a/ltfatpy/tests/fourier/test_pgauss.py +++ b/ltfatpy/tests/fourier/test_pgauss.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_pherm.py b/ltfatpy/tests/fourier/test_pherm.py index 55845a548e7296051583f7e2393b80233207d038..6f621d6706fd2c8eba414c9d3c79a24a1e7ba1ca 100644 --- a/ltfatpy/tests/fourier/test_pherm.py +++ b/ltfatpy/tests/fourier/test_pherm.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/fourier/test_psech.py b/ltfatpy/tests/fourier/test_psech.py index 5ef31bcfbc70621abbd6547c3af43a4a47ddcff8..83119779b58461ed6b09623a851950284e7e9e7c 100644 --- a/ltfatpy/tests/fourier/test_psech.py +++ b/ltfatpy/tests/fourier/test_psech.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence @@ -89,8 +89,8 @@ class TestPsech(unittest.TestCase): mess += "psech(10.2)\n" self.assertRaises(TypeError, psech, 10.2, mess) mess = "\nException TypeError should be raised with declaration " - mess += "psech(10,(1,1))\n" - self.assertRaises(TypeError, psech, 10, (1, 1)) + mess += "psech(10, s=(1,1))\n" + self.assertRaises(TypeError, psech, 10, s=(1, 1)) def test_invariance_property(self): g = psech(self.L)[0] diff --git a/ltfatpy/tests/gabor/test_dgt.py b/ltfatpy/tests/gabor/test_dgt.py index 2c89f5f87a1af9a69f694c70653a6dde8857ac55..d388b57446f181f9bbac851c0f432200e69818b8 100644 --- a/ltfatpy/tests/gabor/test_dgt.py +++ b/ltfatpy/tests/gabor/test_dgt.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_gabdual.py b/ltfatpy/tests/gabor/test_gabdual.py index 76101de5eacd455dc63d30e58cfd87520c0d3f09..732cf8b018c3ce300550bdc9f06a5d5a6a1125b0 100644 --- a/ltfatpy/tests/gabor/test_gabdual.py +++ b/ltfatpy/tests/gabor/test_gabdual.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_gabframediag.py b/ltfatpy/tests/gabor/test_gabframediag.py index 34cc486b93e136b14fbfbf9a82d3c5ed72073785..572d4b0ebe856dc063ef387c7cd0af5a11221862 100644 --- a/ltfatpy/tests/gabor/test_gabframediag.py +++ b/ltfatpy/tests/gabor/test_gabframediag.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_gabimagepars.py b/ltfatpy/tests/gabor/test_gabimagepars.py index 22eee6bf68f8d4e329a5aa07e35c558cdc2374e5..c4e3acecc5ebd290ef9660a59828edda0ad4b441 100644 --- a/ltfatpy/tests/gabor/test_gabimagepars.py +++ b/ltfatpy/tests/gabor/test_gabimagepars.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_gabphasegrad.py b/ltfatpy/tests/gabor/test_gabphasegrad.py index dfd531a50bf8070826f0547e9bdc5a2cbdb1527b..0c5e19bd16558a2d50a0b771dc41a8e00612ea42 100644 --- a/ltfatpy/tests/gabor/test_gabphasegrad.py +++ b/ltfatpy/tests/gabor/test_gabphasegrad.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_gabtight.py b/ltfatpy/tests/gabor/test_gabtight.py index 4198394c4398b5694b228275a87bb1585d49f148..689486d0fca645788038464775781173a35bdae0 100644 --- a/ltfatpy/tests/gabor/test_gabtight.py +++ b/ltfatpy/tests/gabor/test_gabtight.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_gabwin.py b/ltfatpy/tests/gabor/test_gabwin.py index 1899542c7430f8ca691f23e7b04b073289119dfa..18cfe6e5dc7cabd334b98602db5de51a691fef72 100644 --- a/ltfatpy/tests/gabor/test_gabwin.py +++ b/ltfatpy/tests/gabor/test_gabwin.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence @@ -106,8 +106,8 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info["tfr"], a*M/L, mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["tfr"], a*M/L, mess) + self.assertEqual(info["gl"], len(g), mess) gt = pgauss(L, a*M/L)[0] mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -128,8 +128,8 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info["tfr"], a*M/L, mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["tfr"], a*M/L, mess) + self.assertEqual(info["gl"], len(g), mess) gt = psech(L, a*M/L)[0] mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -146,8 +146,8 @@ class TestGabWin(unittest.TestCase): self.assertTrue(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info["tfr"], a*M/L, mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["tfr"], a*M/L, mess) + self.assertEqual(info["gl"], len(g), mess) gt = gabdual(pgauss(L, a*M/L)[0], a, M) mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -165,8 +165,8 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info["tfr"], a*M/L, mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["tfr"], a*M/L, mess) + self.assertEqual(info["gl"], len(g), mess) gt = gabtight(None, a, M, L) mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -189,7 +189,7 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertTrue(info['isfir'], mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["gl"], len(g), mess) gt = firwin(name, M, norm='2')[0] mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -216,8 +216,8 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info["tfr"], a*M/L, mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["tfr"], a*M/L, mess) + self.assertEqual(info["gl"], len(g), mess) gt = pgauss(L, a*M/L)[0] mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -227,7 +227,7 @@ class TestGabWin(unittest.TestCase): mess = "a = {0:d}, M = {1:d}, L = {2:d}".format(a, M, L) mess += "\ng = " + str(g) mess += "\ninfo = " + str(info) - self.assertEquals(info["tfr"], 1, mess) + self.assertEqual(info["tfr"], 1, mess) gt = pgauss(L)[0] mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -243,8 +243,8 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info["tfr"], a*M/L, mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["tfr"], a*M/L, mess) + self.assertEqual(info["gl"], len(g), mess) gt = psech(L, a*M/L)[0] mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -254,7 +254,7 @@ class TestGabWin(unittest.TestCase): mess = "a = {0:d}, M = {1:d}, L = {2:d}".format(a, M, L) mess += "\ng = " + str(g) mess += "\ninfo = " + str(info) - self.assertEquals(info["tfr"], 1, mess) + self.assertEqual(info["tfr"], 1, mess) gt = psech(L)[0] mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -293,7 +293,7 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertTrue(info['isfir'], mess) - self.assertEquals(info["gl"], len(gl), mess) + self.assertEqual(info["gl"], len(gl), mess) gt = firwin(name, Ml, norm='2')[0] gt = fir2long(gt, int(np.ceil(gt.shape[0] / M) * M)) mess += "\ngt = " + str(gt) @@ -324,8 +324,8 @@ class TestGabWin(unittest.TestCase): self.assertTrue(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info['auxinfo']["tfr"], tfr, mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info['auxinfo']["tfr"], tfr, mess) + self.assertEqual(info["gl"], len(g), mess) gt = gabdual(psech(L, tfr)[0], a, M, L) mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -345,8 +345,8 @@ class TestGabWin(unittest.TestCase): self.assertTrue(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info['auxinfo']["tfr"], tfr, mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info['auxinfo']["tfr"], tfr, mess) + self.assertEqual(info["gl"], len(g), mess) gt = gabdual(pgauss(L, tfr)[0], a, M, L) mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) @@ -365,7 +365,7 @@ class TestGabWin(unittest.TestCase): self.assertTrue(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertTrue(info['isfir'], mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["gl"], len(g), mess) gt = firwin(name, M, norm='2')[0] gt = gabdual(gt, a, M, L) mess += "\ngt = " + str(gt) @@ -384,7 +384,7 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertFalse(info['wasrow'], mess) self.assertTrue(info['isfir'], mess) - self.assertEquals(info["gl"], len(g), mess) + self.assertEqual(info["gl"], len(g), mess) gt = firwin(name, M, norm='2')[0] gt = gabtight(gt, a, M, L) mess += "\ngt = " + str(gt) @@ -403,7 +403,7 @@ class TestGabWin(unittest.TestCase): self.assertFalse(info['isdual'], mess) self.assertTrue(info['wasrow'], mess) self.assertFalse(info['isfir'], mess) - self.assertEquals(info["gl"], L, mess) + self.assertEqual(info["gl"], L, mess) gt = pgauss(L)[0] mess += "\ngt = " + str(gt) np.testing.assert_array_almost_equal(g, gt, 10, mess) diff --git a/ltfatpy/tests/gabor/test_idgt.py b/ltfatpy/tests/gabor/test_idgt.py index 5562f3a6e442e26872bb94304e7b313594af3ba9..39bfe14b8f72956cb13cff265722be4a8b25733d 100644 --- a/ltfatpy/tests/gabor/test_idgt.py +++ b/ltfatpy/tests/gabor/test_idgt.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_instfreqplot.py b/ltfatpy/tests/gabor/test_instfreqplot.py index 0d8c97097019ecc43bd122c2b3434698fd1a505e..7c915853c5eb2cec23c348dc57155a73a9ad27cb 100644 --- a/ltfatpy/tests/gabor/test_instfreqplot.py +++ b/ltfatpy/tests/gabor/test_instfreqplot.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_phaselock.py b/ltfatpy/tests/gabor/test_phaselock.py index 23aae7230165d4beff6c89acf5be2eff6a70b54a..2b36fe470aac297505d5cb9a326a409d8d4d71fc 100644 --- a/ltfatpy/tests/gabor/test_phaselock.py +++ b/ltfatpy/tests/gabor/test_phaselock.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_phaseplot.py b/ltfatpy/tests/gabor/test_phaseplot.py index 031ac8ea7bdf86534b4875fbc647ee7a529910f6..b6b7cf8d81becf42dcae2cb7a64a03f166d6e818 100644 --- a/ltfatpy/tests/gabor/test_phaseplot.py +++ b/ltfatpy/tests/gabor/test_phaseplot.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_phaseunlock.py b/ltfatpy/tests/gabor/test_phaseunlock.py index f0b10cdea4cfcc0207a14bc7bb0455db96808d41..634c7942e4ec81dca75114bf419cb637bbc0b1a0 100644 --- a/ltfatpy/tests/gabor/test_phaseunlock.py +++ b/ltfatpy/tests/gabor/test_phaseunlock.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_plotdgt.py b/ltfatpy/tests/gabor/test_plotdgt.py index 2eec602c8ce8618605029659176bdc83cd8deba4..ded646b81b3dd24b9a6c7614a61d204d80fd6561 100644 --- a/ltfatpy/tests/gabor/test_plotdgt.py +++ b/ltfatpy/tests/gabor/test_plotdgt.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_plotdgtreal.py b/ltfatpy/tests/gabor/test_plotdgtreal.py index 00591870ec4553d71a4d931c0c45776c697422bb..8060a92ef78b334981566b4ade7136e0a6c29a21 100644 --- a/ltfatpy/tests/gabor/test_plotdgtreal.py +++ b/ltfatpy/tests/gabor/test_plotdgtreal.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_s0norm.py b/ltfatpy/tests/gabor/test_s0norm.py index 7be99738e040ae8f79860632288f9924ceab31df..0e16229da9d4cf878a2d3d1ff8e4c270ab16e401 100644 --- a/ltfatpy/tests/gabor/test_s0norm.py +++ b/ltfatpy/tests/gabor/test_s0norm.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_sgram.py b/ltfatpy/tests/gabor/test_sgram.py index 65317184c45e01bb61c9d1b4968c8f648e542436..f04ce16c81554944854dcbf5231e6f0dbb0c514b 100644 --- a/ltfatpy/tests/gabor/test_sgram.py +++ b/ltfatpy/tests/gabor/test_sgram.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/gabor/test_tfplot.py b/ltfatpy/tests/gabor/test_tfplot.py index 27715866c62746483348c5bed640d6c8103a0c0f..99c5d98a9abb73f618f6feda983c7a22647a70cc 100644 --- a/ltfatpy/tests/gabor/test_tfplot.py +++ b/ltfatpy/tests/gabor/test_tfplot.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/signals/test_greasy.py b/ltfatpy/tests/signals/test_greasy.py index eac2b450b6cbb103646712c0ccc572fa746b317e..4d2ab6857f828dc12fa4b32d6114d6d5eb3e3a54 100644 --- a/ltfatpy/tests/signals/test_greasy.py +++ b/ltfatpy/tests/signals/test_greasy.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/signals/test_gspi.py b/ltfatpy/tests/signals/test_gspi.py index 7a959c2ba720bd0754f6d027b72a08c23053cafb..603e5c1387b18c99a7c91dbe904641baf1411647 100644 --- a/ltfatpy/tests/signals/test_gspi.py +++ b/ltfatpy/tests/signals/test_gspi.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/signals/test_linus.py b/ltfatpy/tests/signals/test_linus.py index fc9f7687eb08f342e3b85981e4905f98380ac5ba..6b03401a8fe7ac9bf6570cab4cc4d8986655b4eb 100644 --- a/ltfatpy/tests/signals/test_linus.py +++ b/ltfatpy/tests/signals/test_linus.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_fir2long.py b/ltfatpy/tests/sigproc/test_fir2long.py index 393b19160c01a8ce1cde4aaa328eb33ce3a8619e..5e0aa9063d5848126c8ef1d4a8bffe368c44900b 100644 --- a/ltfatpy/tests/sigproc/test_fir2long.py +++ b/ltfatpy/tests/sigproc/test_fir2long.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_firkaiser.py b/ltfatpy/tests/sigproc/test_firkaiser.py index 08b5b16ef346dfeedf769c34dd367fb7aeca5a3d..279b710fb30efd0c28e5636edda2146261707198 100644 --- a/ltfatpy/tests/sigproc/test_firkaiser.py +++ b/ltfatpy/tests/sigproc/test_firkaiser.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_firwin.py b/ltfatpy/tests/sigproc/test_firwin.py index 842f109803d55706450be7166453804e61e559a0..9f0954a40c2e559da2bb1167bc999a48cd7cacd1 100644 --- a/ltfatpy/tests/sigproc/test_firwin.py +++ b/ltfatpy/tests/sigproc/test_firwin.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_groupthresh.py b/ltfatpy/tests/sigproc/test_groupthresh.py index 47d308746b009fecd9543ab74723596c234acda7..86a924153115cb8ac84f0f21fd3078bb8838c067 100644 --- a/ltfatpy/tests/sigproc/test_groupthresh.py +++ b/ltfatpy/tests/sigproc/test_groupthresh.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_largestn.py b/ltfatpy/tests/sigproc/test_largestn.py index f90c211516d726e84e0e1cb425cc3464385960fc..a02f3ea4f14151bb0de4b0a2e57f2092ce6c0ace 100644 --- a/ltfatpy/tests/sigproc/test_largestn.py +++ b/ltfatpy/tests/sigproc/test_largestn.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_largestr.py b/ltfatpy/tests/sigproc/test_largestr.py index 70f12126328c6220f09571467ed9dd8f716d326c..e2e5d91b7ba9dfde115b8342254c61d96857d025 100644 --- a/ltfatpy/tests/sigproc/test_largestr.py +++ b/ltfatpy/tests/sigproc/test_largestr.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_long2fir.py b/ltfatpy/tests/sigproc/test_long2fir.py index 79d9d2e8da8215c9715581aee1e94f543ad7db1e..5319f8989c0cdc33064c576bb6c4c6ed60536bf6 100644 --- a/ltfatpy/tests/sigproc/test_long2fir.py +++ b/ltfatpy/tests/sigproc/test_long2fir.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_normalize.py b/ltfatpy/tests/sigproc/test_normalize.py index a0bc5d382cefb21fcab615dc46377162adb78a05..84f737ba1e1d503a761f1fa6a4010ee56756b8d1 100644 --- a/ltfatpy/tests/sigproc/test_normalize.py +++ b/ltfatpy/tests/sigproc/test_normalize.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_rms.py b/ltfatpy/tests/sigproc/test_rms.py index 206bd62d76b63fd755a015ab6ecaf262c2f12559..b926afb6069ddfd659a35b2da3da70973d2a7c99 100644 --- a/ltfatpy/tests/sigproc/test_rms.py +++ b/ltfatpy/tests/sigproc/test_rms.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/sigproc/test_thresh.py b/ltfatpy/tests/sigproc/test_thresh.py index 5c67116d1d15f9267bf714ef1c62c57eb925d869..1e7bb71e26005f7ef6a47239bc27624ce0865a97 100644 --- a/ltfatpy/tests/sigproc/test_thresh.py +++ b/ltfatpy/tests/sigproc/test_thresh.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/tools/test_lcm.py b/ltfatpy/tests/tools/test_lcm.py index 7f50a0d807ce2190059a568d7d2203bf29fde648..cb9e455f301c94e979aa914d246f8df9e9f89566 100644 --- a/ltfatpy/tests/tools/test_lcm.py +++ b/ltfatpy/tests/tools/test_lcm.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tests/tools/test_postpad.py b/ltfatpy/tests/tools/test_postpad.py index 56c902e42ef2d2d3394b3a49600cdbc7ae317e4d..2b24670bf38d4723ce8f69a20c429f5645a39f6e 100644 --- a/ltfatpy/tests/tools/test_postpad.py +++ b/ltfatpy/tests/tools/test_postpad.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tools/lcm.py b/ltfatpy/tools/lcm.py index 515f1f4cfaed3b6dced0325ffc7b9eb1fb75dfe6..5eb1c32816601d3677bf075c92ff7a4eb24035c7 100644 --- a/ltfatpy/tools/lcm.py +++ b/ltfatpy/tools/lcm.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/tools/postpad.py b/ltfatpy/tools/postpad.py index 2daa8890083b27513071636aeee43bd88658a180..2b17ce11b878a5b406786226dbb827d42f6fca60 100644 --- a/ltfatpy/tools/postpad.py +++ b/ltfatpy/tools/postpad.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/ltfatpy/version.py b/ltfatpy/version.py index 5eb154afbbc27a4bf8da97165f9804ccbec8dfd1..f307bae8424cb391c9a807be406bec95d6c2fff2 100644 --- a/ltfatpy/version.py +++ b/ltfatpy/version.py @@ -32,7 +32,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence diff --git a/setup.cfg b/setup.cfg index d694e8cf78a3ad9603922f61269d4e5bc5559620..acc5ee12661fc2d721742d90b20a5064b6f59060 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,7 @@ cover-erase = 1 cover-html = 1 cover-html-dir = ../build/htmlcov -[pytest] +[tool:pytest] # Specifies a minimal pytest version required for running tests. minversion = 2.6 # Specifies the options diff --git a/setup.py b/setup.py index 49117299ce346b0bf7b82e5c6fe1e3b68a78ffed..92794f2441daaa858d3ff151e1590be30c8d70c5 100755 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ # Version # ------- # -# * ltfatpy version = 1.0.15 +# * ltfatpy version = 1.0.16 # * LTFAT version = 2.1.0 # # Licence