From charlesr.harris at gmail.com Sun Jan 1 19:04:08 2017 From: charlesr.harris at gmail.com (Charles R Harris) Date: Sun, 1 Jan 2017 17:04:08 -0700 Subject: [SciPy-User] NumPy 1.12.0rc2 release. Message-ID: Hi All, I'm pleased to announce the NumPy 1.12.0rc2 New Year's release. This release supports Python 2.7 and 3.4-3.6. Wheels for all supported Python versions may be downloaded from PiPY , the tarball and zip files may be downloaded from Github . The release notes and files hashes may also be found at Github . NumPy 1.12.0rc 2 is the result of 413 pull requests submitted by 139 contributors and comprises a large number of fixes and improvements. Among the many improvements it is difficult to pick out just a few as standing above the others, but the following may be of particular interest or indicate areas likely to have future consequences. * Order of operations in ``np.einsum`` can now be optimized for large speed improvements. * New ``signature`` argument to ``np.vectorize`` for vectorizing with core dimensions. * The ``keepdims`` argument was added to many functions. * New context manager for testing warnings * Support for BLIS in numpy.distutils * Much improved support for PyPy (not yet finished) Enjoy, Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlesr.harris at gmail.com Sun Jan 15 18:43:41 2017 From: charlesr.harris at gmail.com (Charles R Harris) Date: Sun, 15 Jan 2017 16:43:41 -0700 Subject: [SciPy-User] NumPy 1.12.0 release Message-ID: Hi All, I'm pleased to announce the NumPy 1.12.0 release. This release supports Python 2.7 and 3.4-3.6. Wheels for all supported Python versions may be downloaded from PiPY , the tarball and zip files may be downloaded from Github . The release notes and files hashes may also be found at Github . NumPy 1.12.0rc 2 is the result of 418 pull requests submitted by 139 contributors and comprises a large number of fixes and improvements. Among the many improvements it is difficult to pick out just a few as standing above the others, but the following may be of particular interest or indicate areas likely to have future consequences. * Order of operations in ``np.einsum`` can now be optimized for large speed improvements. * New ``signature`` argument to ``np.vectorize`` for vectorizing with core dimensions. * The ``keepdims`` argument was added to many functions. * New context manager for testing warnings * Support for BLIS in numpy.distutils * Much improved support for PyPy (not yet finished) Enjoy, Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.saelzer at gmail.com Wed Jan 18 09:19:00 2017 From: marco.saelzer at gmail.com (=?UTF-8?Q?Marco_S=C3=A4lzer?=) Date: Wed, 18 Jan 2017 14:19:00 +0000 Subject: [SciPy-User] sigtools sourcecode Message-ID: Hi, I've been looking into the sourcecode of the signaltools.lfilter() method and it returns "sigtools._linear_filter(b, a, axis, zi)". Now to my question: Is there any way to get the actual sourcecode of this _linear_filter() method? As far as i understand its already compiled in the sigtools.cp35-win64_amd64.pyd file, but my python skills are basic at most. If somebody could help me I would be very grateful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From guziy.sasha at gmail.com Wed Jan 18 10:08:54 2017 From: guziy.sasha at gmail.com (Oleksandr Huziy) Date: Wed, 18 Jan 2017 10:08:54 -0500 Subject: [SciPy-User] sigtools sourcecode In-Reply-To: References: Message-ID: Hi Marco: You can start digging here in scipy project sources on github: https://github.com/scipy/scipy/blob/2526df72e5d4ca8bad6e2f4b3cbdfbc33e805865/scipy/signal/lfilter.c.src#L130 Cheers 2017-01-18 9:19 GMT-05:00 Marco S?lzer : > Hi, > > I've been looking into the sourcecode of the signaltools.lfilter() method > and it returns "sigtools._linear_filter(b, a, axis, zi)". > > Now to my question: > Is there any way to get the actual sourcecode of this _linear_filter() > method? > > As far as i understand its already compiled in the > sigtools.cp35-win64_amd64.pyd file, but my python skills are basic at most. > > If somebody could help me I would be very grateful. > > > > _______________________________________________ > SciPy-User mailing list > SciPy-User at python.org > https://mail.python.org/mailman/listinfo/scipy-user > > -- Sasha -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Wed Jan 18 10:30:02 2017 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Wed, 18 Jan 2017 15:30:02 +0000 Subject: [SciPy-User] sigtools sourcecode In-Reply-To: References: Message-ID: Don't worry about the *.pyd file - it's just the python bytecodes. _linear_filter is written in C. You can find the table which says which C function to call for the "_linear_filter" python name in: https://github.com/scipy/scipy/blob/04bce8a934a049729543df93ce0b81370d52cff2/scipy/signal/sigtoolsmodule.c The function is in the file Oleksandr referenced. If you need a gentle introduction to C-extensions for python (which is quite a ways from "knowing just a little python), have an adventure with maybe starting with Dave Beazley's chapter on C-extensions in "Python Cookbook" (which truly is one of the most gentle introductions). You can also have a read of https://docs.python.org/3/extending/index.html Have lots of fun! On Wed, Jan 18, 2017 at 9:09 AM Oleksandr Huziy wrote: > Hi Marco: > > You can start digging here in scipy project sources on github: > > > https://github.com/scipy/scipy/blob/2526df72e5d4ca8bad6e2f4b3cbdfbc33e805865/scipy/signal/lfilter.c.src#L130 > > Cheers > > 2017-01-18 9:19 GMT-05:00 Marco S?lzer : > > Hi, > > I've been looking into the sourcecode of the signaltools.lfilter() method > and it returns "sigtools._linear_filter(b, a, axis, zi)". > > Now to my question: > Is there any way to get the actual sourcecode of this _linear_filter() > method? > > As far as i understand its already compiled in the > sigtools.cp35-win64_amd64.pyd file, but my python skills are basic at most. > > If somebody could help me I would be very grateful. > > > > > > _______________________________________________ > > > SciPy-User mailing list > > > SciPy-User at python.org > > > https://mail.python.org/mailman/listinfo/scipy-user > > > > > > > -- > Sasha > > > > > _______________________________________________ > > SciPy-User mailing list > > SciPy-User at python.org > > https://mail.python.org/mailman/listinfo/scipy-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralf.gommers at gmail.com Wed Jan 18 13:04:09 2017 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Thu, 19 Jan 2017 07:04:09 +1300 Subject: [SciPy-User] sigtools sourcecode In-Reply-To: References: Message-ID: On Thu, Jan 19, 2017 at 4:30 AM, Yarko Tymciurak wrote: > Don't worry about the *.pyd file - it's just the python bytecodes. > It's the Windows file extension for compiled Python extensions. Bytecode would be .pyc or .pyo Ralf -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.saelzer at gmail.com Wed Jan 18 15:45:46 2017 From: marco.saelzer at gmail.com (=?UTF-8?Q?Marco_S=C3=A4lzer?=) Date: Wed, 18 Jan 2017 20:45:46 +0000 Subject: [SciPy-User] sigtools sourcecode Message-ID: Wow, thank you all very much for the fast and helpful responses. Exactly what I needed! -------------- next part -------------- An HTML attachment was scrubbed... URL: