<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/fft, branch build_test</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>BUG: Fixed an issue where `.pyi` weren't picked up by numpy sub-packages</title>
<updated>2020-11-03T14:08:38+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2020-11-03T14:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=99051b40de3b77c166a24250df3fd38689aa412e'/>
<id>99051b40de3b77c166a24250df3fd38689aa412e</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 #17104 from BvB93/sub-modules</title>
<updated>2020-09-07T16:48:48+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-09-07T16:48:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=dec8879b4b6b032e168a417b342056d000d4318e'/>
<id>dec8879b4b6b032e168a417b342056d000d4318e</id>
<content type='text'>
ENH: Add placeholder stubs for all sub-modules</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENH: Add placeholder stubs for all sub-modules</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove users of `numpy.compat.integer_types`</title>
<updated>2020-08-31T09:13:58+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-08-31T09:13:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=6e00aaedc40292933c0e8f162d0d4512d6ba350e'/>
<id>6e00aaedc40292933c0e8f162d0d4512d6ba350e</id>
<content type='text'>
Some more Python 2 cleanup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some more Python 2 cleanup
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Replace module-level `__getattr__` with explicitly defined objects</title>
<updated>2020-08-20T11:50:50+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2020-08-20T11:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b67db6b53f80f895237f58c1c8fa8a855cdd8051'/>
<id>b67db6b53f80f895237f58c1c8fa8a855cdd8051</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add placeholder stubs for all sub-modules</title>
<updated>2020-08-19T12:49:16+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2020-08-19T12:49:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=1ef217b19161e01672e243d21263e517f63d817a'/>
<id>1ef217b19161e01672e243d21263e517f63d817a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Disclaimer for FFT library</title>
<updated>2020-08-09T12:44:33+00:00</updated>
<author>
<name>Ben Nathanson</name>
<email>github@bigriver.xyz</email>
</author>
<published>2020-08-07T21:41:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=8a92eb41e40bf40bf50faaef0d465c7da82e2b7c'/>
<id>8a92eb41e40bf40bf50faaef0d465c7da82e2b7c</id>
<content type='text'>
Adds sentence to the top of routines.fft.html explaining that scipy.fft
is a more comprehensive collection, per mailing list discussion
(http://numpy-discussion.10968.n7.nabble.com/Add-Chebyshev-cosine-transforms-implemented-via-FFTs-td48373.html#a48382)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds sentence to the top of routines.fft.html explaining that scipy.fft
is a more comprehensive collection, per mailing list discussion
(http://numpy-discussion.10968.n7.nabble.com/Add-Chebyshev-cosine-transforms-implemented-via-FFTs-td48373.html#a48382)
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Clarify input to irfft/irfft2/irfftn (#16950)</title>
<updated>2020-07-29T19:38:27+00:00</updated>
<author>
<name>Bharat Raghunathan</name>
<email>bharatraghunthan9767@gmail.com</email>
</author>
<published>2020-07-29T19:38:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=6f673997393448454370b3d70043adcd3428e42e'/>
<id>6f673997393448454370b3d70043adcd3428e42e</id>
<content type='text'>
* DOC: Clarify input to irfft/irfft2/irfftn
* DOC: Update see also link with rfft</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* DOC: Clarify input to irfft/irfft2/irfftn
* DOC: Update see also link with rfft</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #16532 from seberg/delete-sigint-handling</title>
<updated>2020-07-17T05:17:15+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2020-07-17T05:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=d3eae8be4d783948a0d71363bc07558524e905e5'/>
<id>d3eae8be4d783948a0d71363bc07558524e905e5</id>
<content type='text'>
BUG: Remove non-threadsafe sigint handling from fft calculation</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: Remove non-threadsafe sigint handling from fft calculation</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: add `norm=forward,backward` to numpy.fft functions (#16476)</title>
<updated>2020-07-12T19:43:30+00:00</updated>
<author>
<name>Chris Vavaliaris</name>
<email>cv1038@wildcats.unh.edu</email>
</author>
<published>2020-07-12T19:43:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=0862be9b58bc6b40e688c3118f5cc91954a7fd13'/>
<id>0862be9b58bc6b40e688c3118f5cc91954a7fd13</id>
<content type='text'>
The kwarg option norm=inverse leads to scaling of the transforms
inverse (opposite) to that of the default option norm=None; i.e. the
forward transform is normalized with 1/n whereas the backward one
with 1. The fft routines and their tests have been modified to
reflect the changes; all tests have been passed successfully.

Closes #16126

* modified _unitary, fft &amp; ifft and their tests; tests passed

* modified rfft &amp; irfft and their tests; tests passed

* modified hfft &amp; ihfft and all tests; all modifications are now done

* correction in ihfft; all 79 fft tests passed successfully

* undo unnecessary docstrings changes made in my previous commits

* use norm=forward kwarg value name

* Update numpy/fft/__init__.py

Co-authored-by: Leo Fang &lt;leofang@bnl.gov&gt;

* add code review suggestions

Co-authored-by: Leo Fang &lt;leofang@bnl.gov&gt;

* add default norm=None alias norm=backward

* streamline private normalization functions

* modify hermitian FFTs

* add review suggestions

Co-authored-by: Leo Fang &lt;leofang@bnl.gov&gt;

* add review suggestions v2 (dict as module const)

* make review suggestions v3

* Apply suggestions from code review

Co-authored-by: Leo Fang &lt;leofang@bnl.gov&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The kwarg option norm=inverse leads to scaling of the transforms
inverse (opposite) to that of the default option norm=None; i.e. the
forward transform is normalized with 1/n whereas the backward one
with 1. The fft routines and their tests have been modified to
reflect the changes; all tests have been passed successfully.

Closes #16126

* modified _unitary, fft &amp; ifft and their tests; tests passed

* modified rfft &amp; irfft and their tests; tests passed

* modified hfft &amp; ihfft and all tests; all modifications are now done

* correction in ihfft; all 79 fft tests passed successfully

* undo unnecessary docstrings changes made in my previous commits

* use norm=forward kwarg value name

* Update numpy/fft/__init__.py

Co-authored-by: Leo Fang &lt;leofang@bnl.gov&gt;

* add code review suggestions

Co-authored-by: Leo Fang &lt;leofang@bnl.gov&gt;

* add default norm=None alias norm=backward

* streamline private normalization functions

* modify hermitian FFTs

* add review suggestions

Co-authored-by: Leo Fang &lt;leofang@bnl.gov&gt;

* add review suggestions v2 (dict as module const)

* make review suggestions v3

* Apply suggestions from code review

Co-authored-by: Leo Fang &lt;leofang@bnl.gov&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Remove non-threadsafe sigint handling from fft calculation</title>
<updated>2020-06-26T01:44:17+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-06-08T13:56:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=ec62be21cf109dac436f9a68a84fbd674c1faebb'/>
<id>ec62be21cf109dac436f9a68a84fbd674c1faebb</id>
<content type='text'>
The fft calculation is the only point in our code where this function
is used.  Allowing Ctrl+C, in FFT specifically used have more reasons,
since before pocketfft, some array-sizes could lead to very large
run-times.
Pocketfft fixed that issue, and now FFT is not really any slower,
faster, or memory hungry than any other NumPy operation so it feels
it does not need this handling.  Rather, if we can find a better
solution, it should also be added to more functions.

The reason for removal is that it is not only unsafe while the
FFT is running (in theory). Multiple, threaded FFT run can easily
leave the signal handler in a bad state, causing crashes if Ctrl+C
(sigint) is given at any point after the call.

It would be possible to patch that over, by only resetting the
signal handler if we actually changed it (or even more complex
tricks), or possibly only using this technique when on the main
thread.
But, all of these solutions seem to complicate things, when the
main reason for why allowing sigint seems useful is gone with
pocketfft.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fft calculation is the only point in our code where this function
is used.  Allowing Ctrl+C, in FFT specifically used have more reasons,
since before pocketfft, some array-sizes could lead to very large
run-times.
Pocketfft fixed that issue, and now FFT is not really any slower,
faster, or memory hungry than any other NumPy operation so it feels
it does not need this handling.  Rather, if we can find a better
solution, it should also be added to more functions.

The reason for removal is that it is not only unsafe while the
FFT is running (in theory). Multiple, threaded FFT run can easily
leave the signal handler in a bad state, causing crashes if Ctrl+C
(sigint) is given at any point after the call.

It would be possible to patch that over, by only resetting the
signal handler if we actually changed it (or even more complex
tricks), or possibly only using this technique when on the main
thread.
But, all of these solutions seem to complicate things, when the
main reason for why allowing sigint seems useful is gone with
pocketfft.
</pre>
</div>
</content>
</entry>
</feed>
