Re: [Numpy-discussion] Move scipy.org docs to Github?

2017-03-15 Thread Todd
On Mar 15, 2017 05:47, "Ralf Gommers" wrote: On Wed, Mar 15, 2017 at 3:21 PM, Matthew Brett wrote: > Hi, > > The scipy.org site is down at the moment, and has been for more than 36 > hours: > >

Re: [Numpy-discussion] Deprecating matrices.

2017-01-07 Thread Todd
On Jan 6, 2017 20:28, "Ralf Gommers" wrote: On Sat, Jan 7, 2017 at 2:21 PM, CJ Carey wrote: > > On Fri, Jan 6, 2017 at 6:19 PM, Ralf Gommers > wrote: > >> This sounds like a reasonable idea. Timeline could be

Re: [Numpy-discussion] Deprecating matrices.

2017-01-03 Thread Todd
On Mon, Jan 2, 2017 at 8:36 PM, Charles R Harris wrote: > Hi All, > > Just throwing this click bait out for discussion. Now that the `@` > operator is available and things seem to be moving towards Python 3, > especially in the classroom, we should consider the real

Re: [Numpy-discussion] Intel random number package

2016-10-27 Thread Todd
On Thu, Oct 27, 2016 at 12:12 PM, Nathaniel Smith wrote: > Ever notice how Anaconda doesn't provide pyfftw? They can't legally ship > both MKL and pyfftw, and they picked MKL. Anaconda does ship GPL code [1]. They even ship GPL code that depends on numpy, such as cvxcanon and

Re: [Numpy-discussion] Intel random number package

2016-10-27 Thread Todd
ulian Taylor < > jtaylor.deb...@googlemail.com> wrote: > >> On 10/27/2016 04:52 PM, Todd wrote: >> >>> On Thu, Oct 27, 2016 at 10:43 AM, Julian Taylor >>> <jtaylor.deb...@googlemail.com <mailto:jtaylor.deb...@googlemail.com>> >>> wrote:

Re: [Numpy-discussion] Intel random number package

2016-10-27 Thread Todd
On Thu, Oct 27, 2016 at 10:43 AM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > On 10/27/2016 04:30 PM, Todd wrote: > >> On Thu, Oct 27, 2016 at 4:25 AM, Ralf Gommers <ralf.gomm...@gmail.com >> <mailto:ralf.gomm...@gmail.com>> wrote: >> >>

Re: [Numpy-discussion] Intel random number package

2016-10-27 Thread Todd
mPy-Discussion [mailto:numpy-discussion-boun...@scipy.org] *On >> Behalf Of *Todd >> *Sent:* Wednesday, October 26, 2016 4:04 PM >> *To:* Discussion of Numerical Python <numpy-discussion@scipy.org> >> *Subject:* Re: [Numpy-discussion] Intel random number package >> >&

Re: [Numpy-discussion] Intel random number package

2016-10-26 Thread Todd
On Wed, Oct 26, 2016 at 4:30 PM, Pavlyk, Oleksandr < oleksandr.pav...@intel.com> wrote: > > The module under review, similarly to randomstate package, provides > alternative basic pseudo-random number generators (BRNGs), like MT2203, > MCG31, MRG32K3A, Wichmann-Hill. The scope of support differ,

Re: [Numpy-discussion] ndarray.T2 for 2D transpose

2016-04-07 Thread Todd
On Thu, Apr 7, 2016 at 11:35 AM, <josef.p...@gmail.com> wrote: > On Thu, Apr 7, 2016 at 11:13 AM, Todd <toddr...@gmail.com> wrote: > > On Wed, Apr 6, 2016 at 5:20 PM, Nathaniel Smith <n...@pobox.com> wrote: > >> > >> On Wed, Apr 6, 2016

Re: [Numpy-discussion] ndarray.T2 for 2D transpose

2016-04-07 Thread Todd
On Thu, Apr 7, 2016 at 3:39 AM, Irvin Probst <irvin.pro...@ensta-bretagne.fr > wrote: > On 06/04/2016 04:11, Todd wrote: > > When you try to transpose a 1D array, it does nothing. This is the > correct behavior, since it transposing a 1D array is meaningless. However, >

Re: [Numpy-discussion] ndarray.T2 for 2D transpose

2016-04-07 Thread Todd
On Thu, Apr 7, 2016 at 4:59 AM, Joseph Martinot-Lagarde < contreba...@gmail.com> wrote: > Alan Isaac gmail.com> writes: > > > But underlying the proposal is apparently the > > idea that there be an attribute equivalent to > > `atleast_2d`. Then call it `d2p`. > > You can now have `a.d2p.T`

Re: [Numpy-discussion] ndarray.T2 for 2D transpose

2016-04-07 Thread Todd
On Wed, Apr 6, 2016 at 5:20 PM, Nathaniel Smith <n...@pobox.com> wrote: > On Wed, Apr 6, 2016 at 10:43 AM, Todd <toddr...@gmail.com> wrote: > > > > My intention was to make linear algebra operations easier in numpy. With > > the @ operator available, it is

Re: [Numpy-discussion] ndarray.T2 for 2D transpose

2016-04-06 Thread Todd
On Wed, Apr 6, 2016 at 11:44 AM, Chris Barker - NOAA Federal < chris.bar...@noaa.gov> wrote: > But the truth is that Numpy arrays are arrays, not matrices and vectors. > > The "right" way to do this is to properly extend and support the > matrix object, adding row and column vector objects, and

Re: [Numpy-discussion] ndarray.T2 for 2D transpose

2016-04-06 Thread Todd
On Tue, Apr 5, 2016 at 11:14 PM, Nathaniel Smith <n...@pobox.com> wrote: > On Tue, Apr 5, 2016 at 7:11 PM, Todd <toddr...@gmail.com> wrote: > > When you try to transpose a 1D array, it does nothing. This is the > correct > > behavior, since it transposing a 1D

Re: [Numpy-discussion] ndarray.T2 for 2D transpose

2016-04-06 Thread Todd
I would make `arr.T2` the same as `np.atleast_2d(arr).T`. So a 1D array would act as a row vector, since that is already the convention for coercing 1D arrays to 2D. On Tue, Apr 5, 2016 at 10:49 PM, Juan Nunez-Iglesias <jni.s...@gmail.com> wrote: > Todd, > > Would you cons

[Numpy-discussion] ndarray.T2 for 2D transpose

2016-04-05 Thread Todd
When you try to transpose a 1D array, it does nothing. This is the correct behavior, since it transposing a 1D array is meaningless. However, this can often lead to unexpected errors since this is rarely what you want. You can convert the array to 2D, using `np.atleast_2d` or `arr[None]`, but

Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-29 Thread Todd
On Oct 29, 2015 00:29, "Sandro Tosi" wrote: > > please, pretty please, do not disable setup.py install or at least > keep providing a way for distribution (Debian in this case) to be able > to build/install numpy in a temporary location for packaging reasons. > pip is not the

Re: [Numpy-discussion] Question about unaligned access

2015-07-07 Thread Todd
On Jul 6, 2015 6:21 PM, Francesc Alted fal...@gmail.com wrote: 2015-07-06 18:04 GMT+02:00 Jaime Fernández del Río jaime.f...@gmail.com: On Mon, Jul 6, 2015 at 10:18 AM, Francesc Alted fal...@gmail.com wrote: Hi, I have stumbled into this: In [62]: sa = np.fromiter(((i,i) for i in

Re: [Numpy-discussion] Readings about governance and decision making for F/OSS projects

2015-07-04 Thread Todd
On Jul 4, 2015 1:47 AM, Nathaniel Smith n...@pobox.com wrote: If you have other links on this topic that you are think are interesting, please add them to the thread! The KDE e.v. - represents the KDE community in legal and financial matters. https://ev.kde.org/

Re: [Numpy-discussion] Verify your sourceforge windows installer downloads

2015-06-01 Thread Todd
constraints. Also, I think the new cheese shop/warehouse server they are using scales better, so size is not nearly the same concern as before. Ben Root On May 29, 2015 1:43 AM, Todd toddr...@gmail.com wrote: On May 28, 2015 7:06 PM, David Cournapeau courn...@gmail.com wrote: On Fri, May 29, 2015

Re: [Numpy-discussion] Verify your sourceforge windows installer downloads

2015-05-28 Thread Todd
On May 28, 2015 7:06 PM, David Cournapeau courn...@gmail.com wrote: On Fri, May 29, 2015 at 2:00 AM, Andrew Collette andrew.colle...@gmail.com wrote: In any case I've always been surprised that NumPy is distributed through SourceForge, which has been sketchy for years now. Could it simply be

Re: [Numpy-discussion] Advanced indexing: fancy vs. orthogonal

2015-04-04 Thread Todd
On Apr 4, 2015 10:54 AM, Nathaniel Smith n...@pobox.com wrote: On Sat, Apr 4, 2015 at 12:17 AM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Sat, Apr 4, 2015 at 1:54 AM, Nathaniel Smith n...@pobox.com wrote: But, the real problem here is that we have two different array duck types

Re: [Numpy-discussion] GSoC'15 - mentors ideas

2015-02-26 Thread Todd
I am not able to mentor, but I have some ideas about easier projects. These may be too easy, too hard, or not even desirable so take them or leave them as you please. scipy: Implement a set of circular statistics functions comparable to those in R or MATLAB circular statistics toolbox. Either

Re: [Numpy-discussion] Silent Broadcasting considered harmful

2015-02-10 Thread Todd
On Feb 10, 2015 1:03 AM, cjw c...@ncf.ca wrote: On 09-Feb-15 2:34 AM, Stefan Reiterer wrote: Ok that are indeed some good reasons to keep the status quo, especially since performance is crucial for numpy. It's a dillemma: Using the matrix class for linear algebra would be the correct way

Re: [Numpy-discussion] FFTS for numpy's FFTs (was: Re: Choosing between NumPy and SciPy functions)

2014-12-11 Thread Todd
On Tue, Oct 28, 2014 at 5:28 AM, Nathaniel Smith n...@pobox.com wrote: On 28 Oct 2014 04:07, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Oct 27, 2014 at 8:07 PM, Sturla Molden sturla.mol...@gmail.com wrote: Sturla Molden sturla.mol...@gmail.com wrote: If we really

Re: [Numpy-discussion] FFTS for numpy's FFTs (was: Re: Choosing between NumPy and SciPy functions)

2014-12-11 Thread Todd
On Thu, Dec 11, 2014 at 4:55 PM, Robert Kern robert.k...@gmail.com wrote: On Thu, Dec 11, 2014 at 3:53 PM, Eric Moore e...@redtetrahedron.org wrote: On Thu, Dec 11, 2014 at 10:41 AM, Todd toddr...@gmail.com wrote: I recently became aware of another C-library for doing FFTs (and other

Re: [Numpy-discussion] Setting up a newcomers label on the issue tracker ?

2014-11-27 Thread Todd
KDE calls themjunior jobs. On Nov 27, 2014 2:29 AM, Benjamin Root ben.r...@ou.edu wrote: FWIW, matplotlib calls it low hanging fruit. I think it is a better name than newcomers. On Wed, Nov 26, 2014 at 1:19 PM, Aldcroft, Thomas aldcr...@head.cfa.harvard.edu wrote: On Wed, Nov 26, 2014

Re: [Numpy-discussion] #2522 numpy.diff fails on unsigned integers

2014-11-13 Thread Todd
On Thu, Nov 13, 2014 at 8:10 AM, Sebastian se...@sebix.at wrote: On 2014-11-04 19:44, Charles R Harris wrote: On Tue, Nov 4, 2014 at 11:19 AM, Sebastian se...@sebix.at wrote: On 2014-11-04 15:06, Todd wrote: On Tue, Nov 4, 2014 at 2:50 PM, Sebastian Wagner se...@sebix.at mailto:se

Re: [Numpy-discussion] #2522 numpy.diff fails on unsigned integers

2014-11-04 Thread Todd
On Tue, Nov 4, 2014 at 2:50 PM, Sebastian Wagner se...@sebix.at wrote: Hello, I want to bring up Issue #2522 'numpy.diff fails on unsigned integers (Trac #1929)' [1], as it was resonsible for an error in one of our programs. Short explanation of the bug: np.diff performs a subtraction on

Re: [Numpy-discussion] Custom dtypes without C -- or, a standard ndarray-like type

2014-09-23 Thread Todd
On Mon, Sep 22, 2014 at 5:31 AM, Nathaniel Smith n...@pobox.com wrote: On Sun, Sep 21, 2014 at 7:50 PM, Stephan Hoyer sho...@gmail.com wrote: My feeling though is that in most of the cases you mention, implementing a new array-like type is huge overkill. ndarray's interface is vast and

Re: [Numpy-discussion] String type again.

2014-07-17 Thread Todd
On Jul 16, 2014 11:43 AM, Chris Barker chris.bar...@noaa.gov wrote: So numpy should have dtypes to match these. We're a bit stuck, however, because 'S' mapped to the py2 string type, which no longer exists in py3. Sorry not running py3 to see what 'S' does now, but I know it's bit broken, and may

Re: [Numpy-discussion] Fwd: [Python-ideas] PEP pre-draft: Support for indexing with keyword arguments

2014-07-04 Thread Todd
On Jul 2, 2014 10:49 AM, Nathaniel Smith n...@pobox.com wrote: I admit I can't actually think of any features this would enable for us though... Could it be useful for structured arrays? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] big-bangs versus incremental improvements (was: Re: SciPy 2014 BoF NumPy Participation)

2014-06-05 Thread Todd
On 5 Jun 2014 02:57, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 4, 2014 at 7:18 AM, Travis Oliphant tra...@continuum.io wrote: And numpy will be much harder to replace than numeric -- numeric wasn't the most-imported package in the pythonverse ;-). If numpy is really such a core part

Re: [Numpy-discussion] big-bangs versus incremental improvements (was: Re: SciPy 2014 BoF NumPy Participation)

2014-06-05 Thread Todd
On 5 Jun 2014 14:28, David Cournapeau courn...@gmail.com wrote: On Thu, Jun 5, 2014 at 9:44 AM, Todd toddr...@gmail.com wrote: On 5 Jun 2014 02:57, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 4, 2014 at 7:18 AM, Travis Oliphant tra...@continuum.io wrote: And numpy will be much

Re: [Numpy-discussion] How security holes happen

2014-03-03 Thread Todd
On Mar 3, 2014 3:16 AM, Charles R Harris charlesr.har...@gmail.com wrote: This is from OS X 9 if ((err = SSLHashSHA1.update(hashCtx, serverRandom)) != 0) goto fail; if ((err = SSLHashSHA1.update(hashCtx, signedParams)) != 0) goto fail; goto fail; if

Re: [Numpy-discussion] Proposal to make power return float, and other such things.

2014-02-18 Thread Todd
On Feb 18, 2014 11:55 AM, Robert Kern robert.k...@gmail.com wrote: On Tue, Feb 18, 2014 at 9:51 AM, Sturla Molden sturla.mol...@gmail.com wrote: Charles R Harris charlesr.har...@gmail.com wrote: This is apropos issue #899 a href=https://github.com/numpy/numpy/issues/899;

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-11 Thread Todd
On Feb 11, 2014 3:23 AM, Alan G Isaac alan.is...@gmail.com wrote: On 2/10/2014 7:39 PM, Pauli Virtanen wrote: The issue here is semantics for basic linear algebra operations, such as matrix multiplication, that work for different matrix objects, including ndarrays. I'll see if I can

Re: [Numpy-discussion] Inheriting from ndarray Was: deprecate numpy.matrix

2014-02-11 Thread Todd
On Feb 11, 2014 5:01 AM, Alexander Belopolsky ndar...@mac.com wrote: On Mon, Feb 10, 2014 at 11:31 AM, Nathaniel Smith n...@pobox.com wrote: And in the long run, I think the goal is to move people away from inheriting from np.ndarray. This is music to my ears, There are a lot of units

Re: [Numpy-discussion] PEP 208 and upstreaming numpy

2013-06-26 Thread Todd
But wouldn't there be a benefit from integrating ndarrays directly into the grammar like lists, tuples, and dictionaries? On Jun 18, 2013 11:41 AM, Robert Kern robert.k...@gmail.com wrote: On Tue, Jun 18, 2013 at 10:33 AM, Todd toddr...@gmail.com wrote: I see that the plan to merge old

[Numpy-discussion] PEP 208 and upstreaming numpy

2013-06-18 Thread Todd
I see that the plan to merge old Numeric into the python standard library, PEP 208, is listed as withdrawn, although no reasons are given as far as I could see. Considering how mature Numpy has become, and how common it is as a dependency for python packages, I was wondering if there were still

Re: [Numpy-discussion] nanmean(), nanstd() and other missing functions for 1.8

2013-05-01 Thread Todd
On Wed, May 1, 2013 at 3:36 AM, Benjamin Root ben.r...@ou.edu wrote: Are there any other functions that others feel are missing from numpy and would like to see for v1.8? Let's discuss them here. As I mentioned before, I think numpy should have some equations for dealing with n-dimensional

Re: [Numpy-discussion] nanmean(), nanstd() and other missing functions for 1.8

2013-05-01 Thread Todd
On Wed, May 1, 2013 at 5:22 PM, Daπid davidmen...@gmail.com wrote: On 1 May 2013 17:13, Todd toddr...@gmail.com wrote: Speaking of which, I think there should be a function to construct a complex array out of two identically-shaped floating-point arrays, as well as perhaps an np.i class

Re: [Numpy-discussion] Finding the same value in List

2013-04-17 Thread Todd
x,i=numpy.unique(y, return_inverse=True) f=[numpy.where(i==ind) for ind in range(len(x))] x will give you the list of unique values, and f will give you the indices of each corresponding value in x. So f[0] is the indices of x[0] in y. To explain, unique in this form gives two outputs, a

Re: [Numpy-discussion] Finding the same value in List

2013-04-17 Thread Todd
On Wed, Apr 17, 2013 at 10:46 AM, Todd toddr...@gmail.com wrote: x,i=numpy.unique(y, return_inverse=True) f=[numpy.where(i==ind) for ind in range(len(x))] A better version would be (np.where returns tuples, but we don't want tuples): x,i=numpy.unique(y, return_inverse=True) f=[numpy.where

Re: [Numpy-discussion] Finding the same value in List

2013-04-17 Thread Todd
The data type: x in ndarray and x[ i ]-- int64 type(f) -- ' list ' type( f[ 0 ] ) -- ' tuple ' type( f[ 0][0] ) -- 'ndarray' type( f[ 0 ][ 0 ][ 0] ) -- 'int64' How do you think to avoid diversity if data type in this example? I think it is

Re: [Numpy-discussion] [SciPy-Dev] NumPy/SciPy participation in GSoC 2013

2013-04-02 Thread Todd
On Tue, Apr 2, 2013 at 8:12 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Mon, Apr 1, 2013 at 2:27 PM, Todd toddr...@gmail.com wrote: There were a number of other ideas in this thread: http://mail.scipy.org/pipermail/numpy-discussion/2013-March/065699.html Thanks Todd. Your idea 5

Re: [Numpy-discussion] [SciPy-Dev] NumPy/SciPy participation in GSoC 2013

2013-04-01 Thread Todd
On Mon, Apr 1, 2013 at 1:58 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Tue, Mar 26, 2013 at 12:27 AM, Ralf Gommers ralf.gomm...@gmail.comwrote: On Thu, Mar 21, 2013 at 10:20 PM, Ralf Gommers ralf.gomm...@gmail.comwrote: Hi all, It is the time of the year for Google Summer of

[Numpy-discussion] Polar/spherical coordinates handling

2013-03-29 Thread Todd
From what I can see, numpy doesn't have any functions for handling polar or spherical coordinate to/from cartesian coordinate conversion. I think such methods would be pretty useful. I am looking now and it doesn't look that hard to create functions to convert between n-dimensional cartesian and

Re: [Numpy-discussion] Polar/spherical coordinates handling

2013-03-29 Thread Todd
On Fri, Mar 29, 2013 at 4:33 PM, Angus McMorland amcm...@gmail.com wrote: On 29 March 2013 11:15, Todd toddr...@gmail.com wrote: From what I can see, numpy doesn't have any functions for handling polar or spherical coordinate to/from cartesian coordinate conversion. I think such methods

Re: [Numpy-discussion] Execution time difference between 2.7 and 3.2 using numpy

2013-03-23 Thread Todd
On Sat, Mar 23, 2013 at 12:21 PM, Ralf Gommers ralf.gomm...@gmail.comwrote: That's not the case. The official binaries for NumPy and SciPy are on SourceForge. The Windows installers on PyPI are there to make easy_install work, but they're likely slower than the SF installers (no SSE2/SSE3

Re: [Numpy-discussion] unclear output format for numpy.argmax()

2013-03-12 Thread Todd
On Tue, Mar 12, 2013 at 8:20 AM, soumen ganguly soumendotgang...@gmail.comwrote: Hello, There are some doubts that i have regarding the argmax() method of numpy.As described in reference doc's of numpy,argmax(axis=None,out=None) returns the indices of the maximum value along the given

Re: [Numpy-discussion] GSOC 2013

2013-03-06 Thread Todd
On Mar 5, 2013 7:53 PM, Nathaniel Smith n...@pobox.com wrote: On 4 Mar 2013 23:21, Jaime Fernández del Río jaime.f...@gmail.com wrote: On Mon, Mar 4, 2013 at 2:29 PM, Todd toddr...@gmail.com wrote: 5. Currently dtypes are limited to a set of fixed types, or combinations of these types

Re: [Numpy-discussion] GSOC 2013

2013-03-04 Thread Todd
On Mon, Mar 4, 2013 at 9:41 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Tue, Feb 26, 2013 at 11:17 AM, Todd toddr...@gmail.com wrote: Is numpy planning to participate in GSOC this year, either on their own or as a part of another group? If we participate, it should be under

Re: [Numpy-discussion] Adding .abs() method to the array object

2013-02-26 Thread Todd
On Tue, Feb 26, 2013 at 10:58 AM, Sebastian Berg sebast...@sipsolutions.net wrote: On Mon, 2013-02-25 at 22:04 -0500, josef.p...@gmail.com wrote: On Mon, Feb 25, 2013 at 9:58 PM, josef.p...@gmail.com wrote: On Mon, Feb 25, 2013 at 9:20 PM, Sebastian Berg sebast...@sipsolutions.net

[Numpy-discussion] GSOC 2013

2013-02-26 Thread Todd
Is numpy planning to participate in GSOC this year, either on their own or as a part of another group? If so, should we start trying to get some project suggestions together? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] What should np.ndarray.__contains__ do

2013-02-25 Thread Todd
The problem with b is that it breaks down if the two status have the same dimensionality. I think a better approach would be for a in b With a having n dimensions, it returns true if there is any subarray of b that matches a along the last n dimensions. So if a has 3 dimensions and b has 6, a

Re: [Numpy-discussion] another discussion on numpy correlate (and convolution)

2013-02-22 Thread Todd
We don't actually want remove sensitive data, but this tutorial should still allow us to remove a file totally and completely from git history. It doesn't look that hard: https://help.github.com/articles/remove-sensitive-data It will require everyone to rebase, so if you want to do this it may

Re: [Numpy-discussion] Seeking help and support for next-gen math modeling tools using Python

2013-02-20 Thread Todd
On Feb 20, 2013 12:47 AM, Rob Clewley rob.clew...@gmail.com wrote: Hi all, and apologies for a little cross-posting: First, thanks to those of you who have used and contributed to the PyDSTool math modeling environment [1]. This project has greatly benefitted from the underlying platform of

Re: [Numpy-discussion] Subclassing ndarray with concatenate

2013-02-01 Thread Todd
On Wed, Jan 30, 2013 at 11:20 AM, Sebastian Berg sebast...@sipsolutions.net wrote: In my particular case at least, there are clear ways to handle corner cases (like being passed a class that lacks these attributes), so in principle there

Re: [Numpy-discussion] Subclassing ndarray with concatenate

2013-01-30 Thread Todd
On Tue, Jan 22, 2013 at 1:44 PM, Sebastian Berg sebast...@sipsolutions.netwrote: Hey, On Tue, 2013-01-22 at 10:21 +0100, Todd wrote: The main exception I have found is concatenate (and hstack/vstack, which just wrap concatenate). In this case, __array_finalize__ is passed an array

[Numpy-discussion] Subclassing ndarray with concatenate

2013-01-22 Thread Todd
I am trying to create a subclass of ndarray that has additional attributes. These attributes are maintained with most numpy functions if __array_finalize__ is used. The main exception I have found is concatenate (and hstack/vstack, which just wrap concatenate). In this case, __array_finalize__

[Numpy-discussion] Hierarchical vs non-hierarchical ndarray.base and __array_interface__

2012-11-24 Thread Gamblin, Todd
indices go. Any suggestions? Thanks! -Todd __ Todd Gamblin, tgamb...@llnl.gov, http://people.llnl.gov/gamblin2 CASC @ Lawrence Livermore National Laboratory, Livermore, CA, USA

[Numpy-discussion] Z-ordering (Morton ordering) for numpy

2012-11-24 Thread Gamblin, Todd
) (2, 0) (3, 0) (2, 1) (3, 1) (0, 2) (1, 2) (0, 3) (1, 3) (2, 2) (3, 2) (2, 3) (3, 3) Thoughts? -Todd __ Todd Gamblin, tgamb...@llnl.gov, http://people.llnl.gov/gamblin2 CASC @ Lawrence Livermore National Laboratory, Livermore, CA

Re: [Numpy-discussion] Z-ordering (Morton ordering) for numpy

2012-11-24 Thread Gamblin, Todd
point. This is pure python, so it won't be super-fast. What's the typical way things are integrated and optimized in numpy? Do you contribute something like this in python first then convert to cython/C as necessary? Or would you want it in C to begin with? -Todd On Nov 24, 2012, at 12:17

Re: [Numpy-discussion] installing numpy in jython (in Netbeans)

2012-08-30 Thread Todd Brunhoff
On 8/27/2012 9:51 AM, Chris Barker wrote: On Sun, Aug 26, 2012 at 8:53 PM, Todd Brunhoffto...@nvr.com wrote: Chris, winpdb is ok, although it is only a graphic debugger, not an ide, emphasis on the 'd'. yup -- I mentioned, that as you seem to like NB -- and I know I try to use the same

[Numpy-discussion] installing numpy in jython (in Netbeans)

2012-08-26 Thread Todd Brunhoff
this one looks like hours of digging through the code. Is there a simpler solution? Thanks in advance, Todd ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] installing numpy in jython (in Netbeans)

2012-08-26 Thread Todd Brunhoff
tools available. NB could be, but is not for python. Thanks again for helping to shorten my search for tools. Todd On 8/26/2012 5:55 PM, Chris Barker wrote: Todd, The short version is: you can't do that. -- Jython uses the JVM, numpy is very, very tied into the CPython runtime. This thread

[Numpy-discussion] numpy issues at startup

2009-06-02 Thread Turner, Todd J Civ USAF AFMC AFRL/RXLMP
I'm having some numpy problems when using the package with Python. My admin installed numpy for me and we think it's installed right. When I'm in python and type 'import numpy' I get the Running numpy from source directory. It doesn't matter which directory I launch python out of, it always

Re: [Numpy-discussion] numpy issues at startup

2009-06-02 Thread Turner, Todd J Civ USAF AFMC AFRL/RXLMP
Of Robert Kern Sent: Tuesday, June 02, 2009 2:24 PM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] numpy issues at startup On Tue, Jun 2, 2009 at 13:19, Turner, Todd J Civ USAF AFMC AFRL/RXLMP todd.tur...@wpafb.af.mil wrote: I’m having some numpy problems when using the package

[Numpy-discussion] 64-bit numpy questions?

2009-03-03 Thread Todd Miller
environments on a day-to-day basis? Are you using very large arrays, i.e. over 2G in size? Cheers, Todd ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion