[Numpy-discussion] ufuncs now take a tuple of arrays as 'out' kwarg

2015-03-05 Thread Jaime Fernández del Río
Hi all, There is a PR, ready to be merged, that adds the possibility of passing a tuple of arrays in the 'out' kwarg to ufuncs with multiple outputs: https://github.com/numpy/numpy/pull/5621 The new functionality is as follows: * If the ufunc has a single output, then the 'out' kwarg can either

Re: [Numpy-discussion] Adding keyword to asarray and asanyarray.

2015-03-05 Thread josef.pktd
On Thu, Mar 5, 2015 at 12:33 PM, Charles R Harris wrote: > > > On Thu, Mar 5, 2015 at 10:04 AM, Chris Barker wrote: >> >> On Thu, Mar 5, 2015 at 8:42 AM, Benjamin Root wrote: >>> >>> dare I say... datetime64/timedelta64 support? >> >> >> well, the precision of those is 64 bits, yes? so if you as

Re: [Numpy-discussion] appveyor CI

2015-03-05 Thread Robert McGibbon
I develop on linux and osx, and I haven't experienced any Appveyor problems related to line endings, so I assume it's normalized somehow. -Robert On Mar 5, 2015 5:08 PM, "Charles R Harris" wrote: > > > On Thu, Mar 5, 2015 at 5:38 PM, Robert McGibbon > wrote: > >> From my experience, it's pretty

Re: [Numpy-discussion] appveyor CI

2015-03-05 Thread Charles R Harris
On Thu, Mar 5, 2015 at 5:38 PM, Robert McGibbon wrote: > From my experience, it's pretty easy, assuming you're prepared to pick up > some powershell. > Some useful resources are > > - Olivier Grisel's example. > https://github.com/ogrisel/python-appveyor-demo > - I made a similar example, using

Re: [Numpy-discussion] appveyor CI

2015-03-05 Thread Robert McGibbon
>From my experience, it's pretty easy, assuming you're prepared to pick up some powershell. Some useful resources are - Olivier Grisel's example. https://github.com/ogrisel/python-appveyor-demo - I made a similar example, using conda. https://github.com/rmcgibbo/python-appveyor-conda-example On

Re: [Numpy-discussion] numpy pickling problem - python 2 vs. python 3

2015-03-05 Thread Arnd Baecker
On Thu, 5 Mar 2015, Ryan Nelson wrote: This works if run from Py3. Don't know if it will *always* work. From that GH discussion you linked, it sounds like that is a bit of a hack. Great - based on your code I could modify my loader routine so that on python 3 it can load the files generated o

Re: [Numpy-discussion] numpy pickling problem - python 2 vs. python 3

2015-03-05 Thread Ryan Nelson
This works if run from Py3. Don't know if it will *always* work. From that GH discussion you linked, it sounds like that is a bit of a hack. ## """Illustrate problem with pytables data - python 2 to python 3.""" from __future__ import print_function import sys import numpy as np impor

Re: [Numpy-discussion] appveyor CI

2015-03-05 Thread Charles R Harris
On Thu, Mar 5, 2015 at 12:42 PM, Stefan van der Walt wrote: > Hi Chuck > > On 2015-03-05 10:09:08, Charles R Harris > wrote: > > Anyone familiar with appveyor ? Is > > this something we could use to test/build numpy on windows > > machines? It is free for open source. >

Re: [Numpy-discussion] appveyor CI

2015-03-05 Thread Denis-Alexander Engemann
Same for MNE-Python: https://github.com/mne-tools/mne-python/blob/master/appveyor.yml Denis 2015-03-05 20:42 GMT+01:00 Stefan van der Walt : > Hi Chuck > > On 2015-03-05 10:09:08, Charles R Harris > wrote: > > Anyone familiar with appveyor ? Is > > this something we c

Re: [Numpy-discussion] appveyor CI

2015-03-05 Thread Stefan van der Walt
Hi Chuck On 2015-03-05 10:09:08, Charles R Harris wrote: > Anyone familiar with appveyor ? Is > this something we could use to test/build numpy on windows > machines? It is free for open source. We already use this for scikit-image, and you are welcome to grab the s

[Numpy-discussion] appveyor CI

2015-03-05 Thread Charles R Harris
Anyone familiar with appveyor ? Is this something we could use to test/build numpy on windows machines? It is free for open source. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman

Re: [Numpy-discussion] Adding keyword to asarray and asanyarray.

2015-03-05 Thread Charles R Harris
On Thu, Mar 5, 2015 at 10:04 AM, Chris Barker wrote: > On Thu, Mar 5, 2015 at 8:42 AM, Benjamin Root wrote: > >> dare I say... datetime64/timedelta64 support? >> > > well, the precision of those is 64 bits, yes? so if you asked for less > than that, you'd still get a dt64. If you asked for 64 bi

Re: [Numpy-discussion] Adding keyword to asarray and asanyarray.

2015-03-05 Thread Benjamin Root
On Thu, Mar 5, 2015 at 12:04 PM, Chris Barker wrote: > well, the precision of those is 64 bits, yes? so if you asked for less > than that, you'd still get a dt64. If you asked for 64 bits, you'd get it, > if you asked for datetime128 -- what would you get??? > > a 128 bit integer? or an Exceptio

Re: [Numpy-discussion] Adding keyword to asarray and asanyarray.

2015-03-05 Thread Chris Barker
On Thu, Mar 5, 2015 at 8:42 AM, Benjamin Root wrote: > dare I say... datetime64/timedelta64 support? > well, the precision of those is 64 bits, yes? so if you asked for less than that, you'd still get a dt64. If you asked for 64 bits, you'd get it, if you asked for datetime128 -- what would you

Re: [Numpy-discussion] Adding keyword to asarray and asanyarray.

2015-03-05 Thread Benjamin Root
dare I say... datetime64/timedelta64 support? ::ducks:: Ben Root On Thu, Mar 5, 2015 at 11:40 AM, Charles R Harris wrote: > Hi All, > > This is apropos gh-5634 , a PR > adding a precision keyword to asarray and asanyarray. The PR description is > > Th

[Numpy-discussion] Adding keyword to asarray and asanyarray.

2015-03-05 Thread Charles R Harris
Hi All, This is apropos gh-5634 , a PR adding a precision keyword to asarray and asanyarray. The PR description is The precision keyword differs from the current dtype keyword in the > following way. > >- It specifies a minimum precision. If the prec

[Numpy-discussion] ANN: scikit-image 0.11

2015-03-05 Thread Stefan van der Walt
Announcement: scikit-image 0.11.0 = We're happy to announce the release of scikit-image v0.11.0! scikit-image is an image processing toolbox for SciPy that includes algorithms for segmentation, geometric transformations, color space manipulation, analysis, filterin

[Numpy-discussion] ANN: BayesPy 0.3 released

2015-03-05 Thread Jaakko Luttinen
Dear all, I am pleased to announce that BayesPy 0.3 has been released. BayesPy provides tools for variational Bayesian inference. The user can easily constuct conjugate exponential family models from nodes and run approximate posterior inference. BayesPy aims to be efficient and flexible enough f