Re: [Numpy-discussion] Changed behavior of np.gradient

2014-10-16 Thread Ariel Rokem
On Thu, Oct 16, 2014 at 10:22 AM, Nathaniel Smith n...@pobox.com wrote: On Tue, Oct 14, 2014 at 10:33 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Tue, Oct 14, 2014 at 11:50 AM, Nathaniel Smith n...@pobox.com wrote: On 14 Oct 2014 18:29, Charles R Harris

[Numpy-discussion] Changed behavior of np.gradient

2014-10-04 Thread Ariel Rokem
Hi everyone, import numpy as np np.__version__ '1.9.0' np.gradient(np.array([[1, 2, 6], [3, 4, 5]], dtype=np.float)) [array([[ 2., 2., -1.], [ 2., 2., -1.]]), array([[-0.5, 2.5, 5.5], [ 1. , 1. , 1. ]])] On the other hand: import numpy as np np.__version__

Re: [Numpy-discussion] Changed behavior of np.gradient

2014-10-04 Thread Ariel Rokem
On Sat, Oct 4, 2014 at 12:29 PM, Derek Homeier de...@astro.physik.uni-goettingen.de wrote: On 4 Oct 2014, at 08:37 pm, Ariel Rokem aro...@gmail.com wrote: import numpy as np np.__version__ '1.9.0' np.gradient(np.array([[1, 2, 6], [3, 4, 5]], dtype=np.float)) [array([[ 2., 2., -1

[Numpy-discussion] datetime64

2009-10-29 Thread Ariel Rokem
). Thanks a lot, Ariel -- Ariel Rokem Helen Wills Neuroscience Institute University of California, Berkeley http://argentum.ucbso.berkeley.edu/ariel ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy

Re: [Numpy-discussion] ANNOUNCEMENT: Enthought Tool Suite (ETS) v3.3.0 released

2009-07-16 Thread Ariel Rokem
* Improved info shown to the user if toolkits don't work as expected ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion -- Ariel Rokem Helen Wills Neuroscience Institute

Re: [Numpy-discussion] ANNOUNCE: ETS 3.2.0 Released

2009-06-04 Thread Ariel Rokem
) ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion -- Ariel Rokem Helen Wills Neuroscience Institute University of California, Berkeley http://argentum.ucbso.berkeley.edu/ariel ___ Numpy

[Numpy-discussion] Usage of numpy.where and pylab.find with strings

2009-01-26 Thread Ariel Rokem
Hi - I am trying to find a string in a list with strings and have come across the following state of affairs: In [228]: subjects Out[228]: ['KAA', 'CCS', 'EJS', 'MNM', 'JHS', 'LJL', 'DVA', 'FCL', 'CNC', 'KFM', 'APM', 'GMC'] In [229]: subjects[0] Out[229]: 'KAA' In [230]:

Re: [Numpy-discussion] Usage of numpy.where and pylab.find with strings

2009-01-26 Thread Ariel Rokem
Doh! That's embarrassing! Thanks! On Jan 26, 2009, at 12:00 PM, Keith Goodman wrote: On Mon, Jan 26, 2009 at 11:48 AM, Ariel Rokem aro...@berkeley.edu wrote: Hi - I am trying to find a string in a list with strings and have come across the following state of affairs: In [228]: subjects

Re: [Numpy-discussion] ANNOUNCE: ETS 3.1.0 released!

2008-12-14 Thread Ariel Rokem
Hello - I tried doing this and keep getting the error attached below. It seems like it is a completely different issue, having to do with the architecture of my mac, but maybe someone here knows how to resolve it. I am doing all this on an Intel mac with OS 10.5.5 Thanks a bunch -- Ariel