<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/fft, branch v1.15.3</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>Merge pull request #10775 from mdboom/return-errors-from-init</title>
<updated>2018-04-20T06:31:35+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-04-20T06:31:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f6c4dacc3b8f6dda3920a5ae6ebe48758a47e00d'/>
<id>f6c4dacc3b8f6dda3920a5ae6ebe48758a47e00d</id>
<content type='text'>
BUG: Return NULL from PyInit_* when exception is raised</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: Return NULL from PyInit_* when exception is raised</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove all uses of run_module_suite.</title>
<updated>2018-04-07T00:20:56+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-04-04T16:33:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7bf0564f87511d9e7b6287b3eec0857d0d7742df'/>
<id>7bf0564f87511d9e7b6287b3eec0857d0d7742df</id>
<content type='text'>
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Update modules `test` to PytestTester.</title>
<updated>2018-04-04T12:40:28+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-04-02T21:48:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=cf46d8cd2aa809be44b684ba234880e0aa4befe9'/>
<id>cf46d8cd2aa809be44b684ba234880e0aa4befe9</id>
<content type='text'>
Numpy can now be tested using the standard

    `python -c"import numpy; numpy.test()"`

construct.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Numpy can now be tested using the standard

    `python -c"import numpy; numpy.test()"`

construct.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove "bench" from testing modules `__init__`s.</title>
<updated>2018-03-31T17:08:29+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-03-29T20:27:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6126789e4addb609b6c99e46a338f5b0bb6f9be3'/>
<id>6126789e4addb609b6c99e46a338f5b0bb6f9be3</id>
<content type='text'>
The "bench" testing with the old bench files is no longer supported.
These days we use `runtests.py` and `asv`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "bench" testing with the old bench files is no longer supported.
These days we use `runtests.py` and `asv`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Return NULL from PyInit_* when exception is raised</title>
<updated>2018-03-30T15:42:56+00:00</updated>
<author>
<name>Michael Droettboom</name>
<email>mdboom@gmail.com</email>
</author>
<published>2018-03-21T02:07:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=2a6565c6432c682c2798e75d48adc587da661822'/>
<id>2a6565c6432c682c2798e75d48adc587da661822</id>
<content type='text'>
I don't think this is documented anywhere, but I'm pretty sure module init
functions should return NULL in order to communicate that an exception
occurred during initialization (as is the standard Python/C API convention).

It's clear from the CPython code
[here](https://github.com/python/cpython/blob/master/Python/importdl.c#L162)
that if you don't return NULL, the exception is swallowed and replaced with the
message "initialization of %s raised unreported exception".

Admittedly, this is only useful for people porting Numpy to new platforms where
it is helpful to know where module initialization is failing, but it can't hurt.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I don't think this is documented anywhere, but I'm pretty sure module init
functions should return NULL in order to communicate that an exception
occurred during initialization (as is the standard Python/C API convention).

It's clear from the CPython code
[here](https://github.com/python/cpython/blob/master/Python/importdl.c#L162)
that if you don't return NULL, the exception is swallowed and replaced with the
message "initialization of %s raised unreported exception".

Admittedly, this is only useful for people porting Numpy to new platforms where
it is helpful to know where module initialization is failing, but it can't hurt.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use dummy_threading on platforms that don't support threading (#10773)</title>
<updated>2018-03-21T03:09:40+00:00</updated>
<author>
<name>Michael Droettboom</name>
<email>mdboom@gmail.com</email>
</author>
<published>2018-03-21T03:09:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3629e3986333ecdf394924e53265e0d1061e928d'/>
<id>3629e3986333ecdf394924e53265e0d1061e928d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #10618 from eric-wieser/avoid-nontuple-indices</title>
<updated>2018-03-15T22:34:26+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2018-03-15T22:34:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=01541f2822d0d4b37b96f6b42e35963b132f1947'/>
<id>01541f2822d0d4b37b96f6b42e35963b132f1947</id>
<content type='text'>
MAINT: Stop using non-tuple indices internally</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: Stop using non-tuple indices internally</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Improving the accuracy of the FFT implementation</title>
<updated>2018-02-20T11:27:26+00:00</updated>
<author>
<name>Nils Becker</name>
<email>nilsc.becker@gmail.com</email>
</author>
<published>2018-02-18T19:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f3eb7abe10719d2fbc5ee3db497f3b30ce0b8641'/>
<id>f3eb7abe10719d2fbc5ee3db497f3b30ce0b8641</id>
<content type='text'>
Previously, the numerical constants in the FFT code were not provided at full double precision which led to a loss of accuracy in the FFT operation. Additionally
this commit improves the accuracy of the twiddle factor calculation by reducing the argument of exp(2j*pi*m/n) to the first octant before calling the library
function. On average the commit lowers the remaining numerical error in the FFT by a factor of ten.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the numerical constants in the FFT code were not provided at full double precision which led to a loss of accuracy in the FFT operation. Additionally
this commit improves the accuracy of the twiddle factor calculation by reducing the argument of exp(2j*pi*m/n) to the first octant before calling the library
function. On average the commit lowers the remaining numerical error in the FFT by a factor of ten.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Stop using non-tuple indices internally</title>
<updated>2018-02-17T06:23:51+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-02-17T05:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e441c291b2e10c8de85a9d950d0add552d0ebd83'/>
<id>e441c291b2e10c8de85a9d950d0add552d0ebd83</id>
<content type='text'>
By not using this type of indexing, it becomes easier for subclasses to override indexing in a way that works correctly with numpy functions.

These locations were found by deprecating the behavior in question, which is deliberately not part of this commit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By not using this type of indexing, it becomes easier for subclasses to override indexing in a way that works correctly with numpy functions.

These locations were found by deprecating the behavior in question, which is deliberately not part of this commit
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Implement fft.fftshift/ifftshift with np.roll for improved performance (#10073)</title>
<updated>2018-01-16T17:15:10+00:00</updated>
<author>
<name>Gaspar Karm</name>
<email>gkarm@live.com</email>
</author>
<published>2018-01-16T17:15:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b83e9629dc09e3487a6e3f8ba9eeb3288f6add9b'/>
<id>b83e9629dc09e3487a6e3f8ba9eeb3288f6add9b</id>
<content type='text'>
See the PR for benchmarking information
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See the PR for benchmarking information
</pre>
</div>
</content>
</entry>
</feed>
