From charlesr.harris at gmail.com Tue Aug 21 16:47:34 2018 From: charlesr.harris at gmail.com (Charles R Harris) Date: Tue, 21 Aug 2018 14:47:34 -0600 Subject: [SciPy-User] NumPy 1.15.1 released. Message-ID: Hi All, On behalf of the NumPy team, I am pleased to announce the release of NumPy 1.15.1. This is a bugfix release for bugs and regressions reported following the 1.15.0 release. Noticeable fixes are - The annoying but harmless RuntimeWarning that "numpy.dtype size changed" has been suppressed. The long standing suppression was lost in the transition to pytest. - The update to Cython 0.28.3 exposed a problematic use of a gcc attribute used to prefer code size over speed in module initialization, possibly resulting in incorrect compiled code. This has been fixed in latest Cython but has been disabled here for safety. - Support for big-endian and ARMv8 architectures has been improved. The Python versions supported by this release are 2.7, 3.4-3.7. The wheels are linked with OpenBLAS v0.3.0, which should fix some of the linalg problems reported for NumPy 1.14. Wheels for this release can be downloaded from PyPI , source archives are available from Github . *Compatibility Note* The NumPy 1.15.x OS X wheels released on PyPI no longer contain 32-bit binaries. That will also be the case in future releases. See #11625 for the related discussion. Those needing 32-bit support on the Mac should look elsewhere or build from source. *Contributors* A total of 7 people contributed to this release. People with a "+" by their names contributed a patch for the first time. * Charles Harris * Chris Billington * Elliott Sales de Andrade + * Eric Wieser * Jeremy Manning + * Matti Picus * Ralf Gommers *Pull requests merged* A total of 24 pull requests were merged for this release. * `#11647 `__: MAINT: Filter Cython warnings in ``__init__.py`` * `#11648 `__: BUG: Fix doc source links to unwrap decorators * `#11657 `__: BUG: Ensure singleton dimensions are not dropped when converting... * `#11661 `__: BUG: Warn on Nan in minimum,maximum for scalars * `#11665 `__: BUG: cython sometimes emits invalid gcc attribute * `#11682 `__: BUG: Fix regression in void_getitem * `#11698 `__: BUG: Make matrix_power again work for object arrays. * `#11700 `__: BUG: Add missing PyErr_NoMemory after failing malloc * `#11719 `__: BUG: Fix undefined functions on big-endian systems. * `#11720 `__: MAINT: Make einsum optimize default to False. * `#11746 `__: BUG: Fix regression in loadtxt for bz2 text files in Python 2. * `#11757 `__: BUG: Revert use of `console_scripts`. * `#11758 `__: BUG: Fix Fortran kind detection for aarch64 & s390x. * `#11759 `__: BUG: Fix printing of longdouble on ppc64le. * `#11760 `__: BUG: Fixes for unicode field names in Python 2 * `#11761 `__: BUG: Increase required cython version on python 3.7 * `#11763 `__: BUG: check return value of _buffer_format_string * `#11775 `__: MAINT: Make assert_array_compare more generic. * `#11776 `__: TST: Fix urlopen stubbing. * `#11777 `__: BUG: Fix regression in intersect1d. * `#11779 `__: BUG: Fix test sensitive to platform byte order. * `#11781 `__: BUG: Avoid signed overflow in histogram * `#11785 `__: BUG: Fix pickle and memoryview for datetime64, timedelta64 scalars * `#11786 `__: BUG: Deprecation triggers segfault Cheers, Charles Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniele at grinta.net Thu Aug 23 17:07:27 2018 From: daniele at grinta.net (Daniele Nicolodi) Date: Thu, 23 Aug 2018 15:07:27 -0600 Subject: [SciPy-User] Debye functions Message-ID: <0aa9e6ee-efc2-80fa-d02e-f532428a0e6b@grinta.net> Hello, is there somewhere an implementation of the Debye functions, like the one in GSL https://www.gnu.org/software/gsl/manual/html_node/Debye-Functions.html ? I had a look in scipy.special (the obvious place) but I didn't find them, unless they go by another name I'm not familiar with. Thanks! Cheers, Dan From grlee77 at gmail.com Fri Aug 31 17:24:47 2018 From: grlee77 at gmail.com (Gregory Lee) Date: Fri, 31 Aug 2018 17:24:47 -0400 Subject: [SciPy-User] ANN: PyWavelets 1.0.0 Message-ID: Hello all, We are pleased to announce the release of PyWavelets 1.0. We view this version number as a milestone in the project's now more than a decade long history. It reflects that PyWavelets has stabilized over the past few years, and is now a mature package which a lot of other important packages depend on. A listing of those package won't be complete, but some we are aware of are: - `scikit-image `_ - image processing in Python - `imagehash `_ - perceptual image hashing - `pyradiomics `_ - extraction of Radiomics features from 2D and 3D images and binary masks - `tomopy `_ - Tomographic Reconstruction in Python - `SpikeSort `_ - Spike sorting library implemented in Python/NumPy/PyTables - `ODL `_ - operator discretization library This release requires Python 2.7 or >=3.5 and NumPy 1.9.1 or greater. The 1.0 release will be the last release supporting Python 2.7. It will be a Long Term Support (LTS) release, meaning that we will backport critical bug fixes to 1.0.x for as long as Python itself does so (i.e. until 1 Jan 2020). A summary of changes and contributors is given below. A more comprehensive list of specific issues and pull requests closed is available in the release notes at: https://github.com/PyWavelets/pywt/blob/master/doc/release/1.0.0-notes.rst New features ============ New 1D test signals ------------------- Many common synthetic 1D test signals have been implemented in the new function ``pywt.data.demo_signals`` to encourage reproducible research. To get a list of the available signals, call ``pywt.data.demo_signals('list')``. These signals have been validated to match the test signals of the same name from the `Wavelab `_ toolbox (with the kind permission of Dr. David Donoho). C99 complex support ------------------- The Cython modules and underlying C library can now be built with C99 complex support when supported by the compiler. Doing so improves performance when running wavelet transforms on complex-valued data. On POSIX systems (Linux, Mac OS X), C99 complex support is enabled by default at build time. The user can set the environment variable ``USE_C99_COMPLEX`` to 0 or 1 to manually disable or enable C99 support at compile time. complex-valued CWT ------------------ The continuous wavelet transform, ``cwt``, now also accepts complex-valued data. More flexible specification of some continuous wavelets ------------------------------------------------------- The continous wavelets ``"cmor"``, ``"shan"`` and ``"fbsp"`` now let the user specify attributes such as their center frequency and bandwidth that were previously fixed. See more on this in the section on deprecated features. Fully Separable Discrete Wavelet Transfrom ------------------------------------------ A new variant of the multilevel n-dimensional DWT has been implemented. It is known as the fully separable wavelet transform (FSWT). The functions ``fswavedecn`` ``fswaverecn`` correspond to the forward and inverse transforms, respectively. This differs from the existing ``wavedecn`` and ``waverecn`` in dimensions >= 2 in that all levels of decomposition are performed along a single axis prior to moving on to the next. New thresholding methods ------------------------ ``pywt.threshold`` now supports non-negative Garotte thresholding (``mode='garotte'``). There is also a new function ``pywt.threshold_firm`` that implements firm (semi-soft) thresholding. Both of the these new thresholding methods are intermediate between soft and hard thresholding. New anti-symmetric boundary modes --------------------------------- Two new boundary handling modes for the discrete wavelet transforms have been implemented. These correspond to whole-sample and half-sample anti-symmetric boundary conditions (``antisymmetric`` and ``antireflect``). New functions to ravel and unravel wavedecn coefficients -------------------------------------------------------- The function ``ravel_coeffs`` can be used to ravel all coefficients from ``wavedec``, ``wavedec2`` or ``wavedecn`` into a single 1D array. Unraveling back into a list of individual n-dimensional coefficients can be performed by ``unravel_coeffs``. New functions to determine multilevel DWT coefficient shapes and sizes ---------------------------------------------------------------------- The new function ``wavedecn_size`` outputs the total number of coefficients that will be produced by a ``wavedecn`` decomposition. The function ``wavedecn_shapes`` returns full shape information for all coefficient arrays produced by ``wavedecn``. These functions provide the size/shape information without having to explicitly compute a transform. Deprecated features =================== The continous wavelets with names ``"cmor"``, ``"shan"`` and ``"fbsp"`` should now be modified to include formerly hard-coded attributes such as their center frequency and bandwidth. Use of the bare names "cmor". "shan" and "fbsp" is now deprecated. For "cmor" (and "shan"), the form of the wavelet name is now "cmorB-C" ("shanB-C") where B and C are floats representing the bandwidth frequency and center frequency. For "fbsp" the form should now incorporate three floats as in "fbspM-B-C" where M is the spline order and B and C are the bandwidth and center frequencies. Backwards incompatible changes ============================== Python 2.6, 3.3 and 3.4 are no longer supported. The order of coefficients returned by ``swt2`` and input to ``iswt2`` have been reversed so that the decomposition levels are now returned in descending rather than ascending order. This makes these 2D stationary wavelet functions consistent with all of the other multilevel discrete transforms in PyWavelets. For ``wavedec``, ``wavedec2`` and ``wavedecn``, the ability for the user to specify a ``level`` that is greater than the value returned by ``dwt_max_level`` has been restored. A ``UserWarning`` is raised instead of a ``ValueError`` in this case. Bugs Fixed ========== Assigning new data to the ``Node`` or ``Node2D`` no longer forces a cast to ``float64`` when the data is one of the other dtypes supported by the dwt (``float32``, ``complex64``, ``complex128``). Calling ``pywt.threshold`` with ``mode='soft'`` now works properly for complex-valued inputs. A segfault when running multiple `swt2` or `swtn` transforms concurrently has been fixed. Several instances of deprecated numpy multi-indexing that caused warnings in numpy >=1.15 have been resolved. The 2d inverse stationary wavelet transform, `iswt2`, now supports non-square inputs (an unnecessary check for square inputs was removed). Wavelet packets no longer convert float32 to float64 upon assignment to nodes. Doctests have been updated to also work with NumPy >= 1.14, Indexing conventions have been updated to avoid FutureWarnings in NumPy 1.15. Other changes ============= Python 3.7 is now officially supported. Authors ======= * 0-tree + * Jacopo Antonello + * Matthew Brett + * Saket Choudhary + * Michael V. DePalatis + * Daniel Goertzen + * Ralf Gommers * Mark Harfouche + * John Kirkham + * Dawid Laszuk + * Gregory R. Lee * Michel Pelletier + * Balint Reczey + * SylvainLan + * Daniele Tricoli * Kai Wohlfahrt A total of 16 people contributed to this release. People with a "+" by their names contributed a patch for the first time. This list of names is automatically generated, and may not be fully complete. -------------- next part -------------- An HTML attachment was scrubbed... URL: