Re: [Numpy-discussion] Download page still points to SVN

2012-01-18 Thread Scott Sinclair
On 18 January 2012 11:22, Fernando Perez fperez@gmail.com wrote: I was just pointing a colleague to the 'official download page' for numpy so he could find how to grab current sources: http://new.scipy.org/download.html but I was quite surprised to find that it still points to SVN for

Re: [Numpy-discussion] Download page still points to SVN

2012-01-18 Thread Scott Sinclair
On 19 January 2012 00:44, Fernando Perez fperez@gmail.com wrote: On Wed, Jan 18, 2012 at 2:18 AM, Scott Sinclair scott.sinclair...@gmail.com wrote: It's rather confusing having two websites. The official page at http://www.scipy.org/Download points to github. The problem

Re: [Numpy-discussion] Download page still points to SVN

2012-02-05 Thread Scott Sinclair
On 5 February 2012 13:07, Ralf Gommers ralf.gomm...@googlemail.com wrote: On 20/01/12 08:49, Scott Sinclair wrote: On 19 January 2012 21:48, Fernando Perezfperez@gmail.com  wrote: We've moved to the following setup with ipython, which works very well for us so far: 1. ipython.org

Re: [Numpy-discussion] Download page still points to SVN

2012-02-06 Thread Scott Sinclair
On 6 February 2012 21:41, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Mon, Feb 6, 2012 at 8:17 AM, Scott Sinclair scott.sinclair...@gmail.com wrote: On 5 February 2012 13:07, Ralf Gommers ralf.gomm...@googlemail.com wrote: Does it need to be a new repo, or would permissions

Re: [Numpy-discussion] Download page still points to SVN

2012-02-08 Thread Scott Sinclair
2012/2/8 Stéfan van der Walt ste...@sun.ac.za: On Tue, Feb 7, 2012 at 2:03 PM, Travis Oliphant tra...@continuum.io wrote: John Turner at ORNL has the numpy.org domain and perhaps we could get him to point it to numpy.github.com Remember to also put a CNAME file in the root of the repository:

Re: [Numpy-discussion] [ANN] new solver for multiobjective optimization problems

2012-02-10 Thread Scott Sinclair
On 10 February 2012 17:59, Neal Becker ndbeck...@gmail.com wrote: And where do we find this gem? Presumably by following the hyper-links in the e-mail (non-obvious if you're using a plain-text mail client..) Cheers, Scott ___ NumPy-Discussion mailing

Re: [Numpy-discussion] Download page still points to SVN

2012-02-15 Thread Scott Sinclair
On 19 January 2012 00:44, Fernando Perez fperez@gmail.com wrote: On Wed, Jan 18, 2012 at 2:18 AM, Scott Sinclair scott.sinclair...@gmail.com wrote: It's rather confusing having two websites. The official page at http://www.scipy.org/Download points to github. The problem

Re: [Numpy-discussion] Download page still points to SVN

2012-02-15 Thread Scott Sinclair
On 8 February 2012 00:03, Travis Oliphant tra...@continuum.io wrote: On Feb 7, 2012, at 4:02 AM, Pauli Virtanen wrote: Hi, 06.02.2012 20:41, Ralf Gommers kirjoitti: [clip] I've created https://github.com/scipy/scipy.github.com and gave you permissions on that. So with that for the built

Re: [Numpy-discussion] Download page still points to SVN

2012-02-15 Thread Scott Sinclair
On 15 February 2012 15:30, Fernando Perez fperez@gmail.com wrote: On Wed, Feb 15, 2012 at 5:18 AM, Ognen Duzlevski og...@enthought.com wrote: It looks like numpy.org already redirects to numpy.scipy.org. So I think redirecting numpy.scipy.org to github should do the right thing I can do

Re: [Numpy-discussion] Numpy governance update

2012-02-16 Thread Scott Sinclair
On 16 February 2012 15:08, Thomas Kluyver tak...@gmail.com wrote: It strikes me that the effort everyone's put into this thread could have by now designed some way to resolve disputes. ;-) This is not intended to downplay the concerns raised in this thread, but I can't help myself. I propose

Re: [Numpy-discussion] Numpy governance update

2012-02-16 Thread Scott Sinclair
On 16 February 2012 17:31, Bruce Southey bsout...@gmail.com wrote: On 02/16/2012 08:06 AM, Scott Sinclair wrote: This is not intended to downplay the concerns raised in this thread, but I can't help myself. I propose the following (tongue-in-cheek) patch against the current numpy master

Re: [Numpy-discussion] Missing data wrap-up and request for comments

2012-05-10 Thread Scott Sinclair
On 9 May 2012 18:46, Travis Oliphant tra...@continuum.io wrote: The document is available here:    https://github.com/numpy/numpy.scipy.org/blob/master/NA-overview.rst This is orthogonal to the discussion, but I'm curious as to why this discussion document has landed in the website repo? I

Re: [Numpy-discussion] Missing data wrap-up and request for comments

2012-05-11 Thread Scott Sinclair
On 11 May 2012 06:57, Travis Oliphant tra...@continuum.io wrote: On May 10, 2012, at 3:40 AM, Scott Sinclair wrote: On 9 May 2012 18:46, Travis Oliphant tra...@continuum.io wrote: The document is available here:    https://github.com/numpy/numpy.scipy.org/blob/master/NA-overview.rst

Re: [Numpy-discussion] Missing data wrap-up and request for comments

2012-05-11 Thread Scott Sinclair
On 11 May 2012 08:12, Fernando Perez fperez@gmail.com wrote: On Thu, May 10, 2012 at 11:03 PM, Scott Sinclair scott.sinclair...@gmail.com wrote: Having thought about it, a page on the website isn't a bad idea. I've added a note pointing to this discussion. The document now appears at http

Re: [Numpy-discussion] Numpy regression in 1.6.2 in deducing the dtype for record array

2012-07-05 Thread Scott Sinclair
On 5 July 2012 08:10, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Wed, Jul 4, 2012 at 10:56 PM, Sandro Tosi matrixh...@gmail.com wrote: Hello, On Mon, Jul 2, 2012 at 7:58 PM, Sandro Tosi matrixh...@gmail.com wrote: Hello, I'd like to point you to this bug report just reported to

Re: [Numpy-discussion] import numpy performance

2012-07-08 Thread Scott Sinclair
On 6 July 2012 15:48, Andrew Dalke da...@dalkescientific.com wrote: I followed the instructions at http://docs.scipy.org/doc/numpy/dev/gitwash/patching.html and added Ticket #2181 (with patch) at http://projects.scipy.org/numpy/ticket/2181 Those instructions need to be updated to reflect

Re: [Numpy-discussion] import numpy performance

2012-07-10 Thread Scott Sinclair
On 10 July 2012 09:05, Andrew Dalke da...@dalkescientific.com wrote: On Jul 8, 2012, at 9:22 AM, Scott Sinclair wrote: On 6 July 2012 15:48, Andrew Dalke da...@dalkescientific.com wrote: I followed the instructions at http://docs.scipy.org/doc/numpy/dev/gitwash/patching.html and added Ticket

Re: [Numpy-discussion] numpy.complex

2012-07-18 Thread Scott Sinclair
On 18 July 2012 15:14, Molinaro Céline celine.molin...@telecom-bretagne.eu wrote: Hello, In [2]: numpy.real(arange(3)) Out[2]: array([0, 1, 2]) In [3]: numpy.complex(arange(3)) TypeError: only length-1 arrays can be converted to Python scalars I think you're looking for the dtype keyword to

Re: [Numpy-discussion] how to uninstall numpy

2012-08-06 Thread Scott Sinclair
On 6 August 2012 11:04, Petro x.pi...@gmail.com wrote: This is a general python question but I will ask it here. To install a new numpy on Debian testing I remove installed version with aptitude purge python-numpy download numpy source code and install numpy with sudo python setup.py install.

Re: [Numpy-discussion] how to uninstall numpy

2012-08-07 Thread Scott Sinclair
On 6 August 2012 20:07, Alex Clark acl...@aclark.net wrote: On 8/6/12 5:48 AM, Scott Sinclair wrote: On 6 August 2012 11:04, Petro x.pi...@gmail.com wrote: This is a general python question but I will ask it here. To install a new numpy on Debian testing I remove installed version

Re: [Numpy-discussion] unsubscribe

2012-08-23 Thread Scott Sinclair
On 23 August 2012 05:58, Amit Nagal amit.na...@gvkbio.com wrote: Please unsubscribe me You can unsubscribe at the bottom of this page http://mail.scipy.org/mailman/listinfo/numpy-discussion Cheers, Scott ___ NumPy-Discussion mailing list

Re: [Numpy-discussion] Mysterious test_pareto failure on Travis

2012-09-04 Thread Scott Sinclair
On 4 September 2012 12:23, Matthew Brett matthew.br...@gmail.com wrote: On Tue, Sep 4, 2012 at 11:15 AM, Nathaniel Smith n...@pobox.com wrote: The last two Travis builds of master have failed consistently with the same error: http://travis-ci.org/#!/numpy/numpy/builds It looks like a real

Re: [Numpy-discussion] numpy.arrange not returning expected results (bug?)

2012-10-18 Thread Scott Sinclair
On 18 October 2012 03:34, Simon Lieschke simon.liesc...@orionhealth.com wrote: I've discovered calling numpy.arange(1.1, 17.1) and numpy(1.1, 16.1) both return the same results. Could this be a numpy bug, or is there some behaviour I'm possibly not aware of here? Not a bug, it's because you're

Re: [Numpy-discussion] Fwd: numpy test fails with Illegal instruction'

2013-01-17 Thread Scott Sinclair
On 17 January 2013 12:01, Gerhard Burger burger...@gmail.com wrote: When I run `numpy.test(verbose=10)` it crashes with test_polyfit (test_polynomial.TestDocs) ... Illegal instruction In the FAQ it states that I should provide the following information (running Ubuntu 12.04 64bit):

Re: [Numpy-discussion] Fwd: numpy test fails with Illegal instruction'

2013-01-17 Thread Scott Sinclair
On 17 January 2013 16:59, Gerhard Burger burger...@gmail.com wrote: Solved it, did a backtrace with gdb and the error came somewhere from an old lapack version that was installed on my machine (I thought I wouldn't have these issues in a virtualenv). but anyway after I removed it, and installed

Re: [Numpy-discussion] savez documentation flaw

2013-02-05 Thread Scott Sinclair
On 5 February 2013 10:38, Andreas Hilboll li...@hilboll.de wrote: I noticed that on http://docs.scipy.org/doc/numpy/reference/generated/numpy.savez.html there's a see also to a function numpy.savez_compressed, which doesn't seem to exist (neither on my system nor in the online documentation).

Re: [Numpy-discussion] Integer type casting and OverflowError

2013-05-09 Thread Scott Sinclair
On 9 May 2013 12:21, Robert Kern robert.k...@gmail.com wrote: With master numpy (and back to 1.6.1, at least): [~] |1 np.int32(3054212286) -1240755010 It seems like at one time, this used to raise an OverflowError. We can see this in at least one place in scipy:

Re: [Numpy-discussion] Integer type casting and OverflowError

2013-05-09 Thread Scott Sinclair
On 9 May 2013 12:45, Robert Kern robert.k...@gmail.com wrote: On Thu, May 9, 2013 at 11:38 AM, Scott Sinclair scott.sinclair...@gmail.com wrote: On 9 May 2013 12:21, Robert Kern robert.k...@gmail.com wrote: With master numpy (and back to 1.6.1, at least): [~] |1 np.int32(3054212286

Re: [Numpy-discussion] f2py and setup.py how can I specify where the .so file goes?

2013-07-12 Thread Scott Sinclair
On 10 July 2013 17:50, Jose Gomez-Dans jgomezd...@gmail.com wrote: Hi, I am building a package that exposes some Fortran libraries through f2py. The packages directory looks like this: setup.py my_pack/ | |--__init__.py |-- some.pyf |--- code.f90 I

Re: [Numpy-discussion] sum of array for masked area

2013-11-28 Thread Scott Sinclair
On 28 November 2013 09:06, questions anon questions.a...@gmail.com wrote: I have a separate text file for daily rainfall data that covers the whole country. I would like to calculate the monthly mean, min, max and the mean of the sum for one state. I can get the max, min and mean for the

[Numpy-discussion] Trouble cloning numpy Github repo over HTTP

2010-09-30 Thread Scott Sinclair
Hi, I'm behind a firewall that doesn't allow me to use the git protocol so I can't use the git:// URL. I see the following problem: $ git clone http://github.com/numpy/numpy.git numpy Initialized empty Git repository in /home/scott/external_repos/numpy/.git/ error: RPC failed; result=22, HTTP

Re: [Numpy-discussion] Trouble cloning numpy Github repo over HTTP

2010-09-30 Thread Scott Sinclair
On 30 September 2010 17:15, Aaron River ari...@enthought.com wrote: If you're allowed access to arbitrary https urls, try: git clone https://github.com/numpy/numpy.git numpy Thanks Aaron. I'm pretty sure I tried that and failed, but I'm at home now (no proxy) but will try again tomorrow.

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Scott Sinclair
On 12 October 2010 11:58, David da...@silveregg.co.jp wrote: On 10/12/2010 06:48 PM, Pierre GM wrote: Corollary: how do I branch from a branch ? You use the branch command: git branch target_branch source_branch But generally, if you want to create a new branch to start working on it,

Re: [Numpy-discussion] Trouble cloning numpy Github repo over HTTP

2010-11-09 Thread Scott Sinclair
On 30 September 2010 10:15, Scott Sinclair scott.sinclair...@gmail.com wrote: I'm behind a firewall that doesn't allow me to use the git protocol so I can't use the git:// URL. I see the following problem: $ git clone http://github.com/numpy/numpy.git numpy Initialized empty Git repository

Re: [Numpy-discussion] Developmental version numbering with git

2010-11-09 Thread Scott Sinclair
On 8 November 2010 23:17, Matthew Brett matthew.br...@gmail.com wrote: Since the change to git the numpy version in setup.py is '2.0.0.dev' regardless because the prior numbering was determined by svn. Is there a plan to add some numbering system to numpy developmental version? Regardless of

Re: [Numpy-discussion] Regrading Numpy Documentation ...

2010-11-15 Thread Scott Sinclair
On 15 November 2010 12:02, srinivas zinka zink...@gmail.com wrote: I downloaded the Numpy reference guide in HTML format from the following link: http://docs.scipy.org/doc/ My intension is to use this documentation in offline mode. But, in offline mode,  I am unable to search the document

Re: [Numpy-discussion] Regrading Numpy Documentation ...

2010-11-15 Thread Scott Sinclair
On 15 November 2010 14:15, srinivas zinka zink...@gmail.com wrote: Thank you for the reply. I just downloaded the following zip file: http://docs.scipy.org/doc/numpy-1.5.x/numpy-html.zip When I try to search for some thing (e.g., array), it keeps on searching (see the attached file). At the 

Re: [Numpy-discussion] Porting numpy to Python3

2011-02-24 Thread Scott Sinclair
On 25 February 2011 06:22, Algis Kabaila akaba...@pcug.org.au wrote: On Friday 25 February 2011 14:44:07 Algis Kabaila wrote: PS: a little investigation shows that my version of numpy is 1.3.0 and scipy is 0.7.2 - so ubuntu binaries are way behind the bleeding edge... ... and built for the

Re: [Numpy-discussion] When was the ddof kwarg added to std()?

2011-03-16 Thread Scott Sinclair
On 16 March 2011 14:52, Darren Dale dsdal...@gmail.com wrote: Does anyone know when the ddof kwarg was added to std()? Has it always been there? Does 'git log --grep=ddof' help? Cheers, Scott ___ NumPy-Discussion mailing list

Re: [Numpy-discussion] Appending a numpy array to binary file

2011-03-23 Thread Scott Sinclair
On 22 March 2011 17:22, Robert Kern robert.k...@gmail.com wrote: On Tue, Mar 22, 2011 at 05:37, Alessandro alessandro.sangina...@polito.it wrote: Hi everybody, I'm trying to append, inside a loop, into a binary file some arrays using numpy.save(file, arr) but wvhen I open it there is only

Re: [Numpy-discussion] Willing to contribute to SciPy NumPy ...

2011-03-31 Thread Scott Sinclair
On 31 March 2011 07:27, Sylvain Bellemare sbel...@gmail.com wrote:  I would like to seriously start contributing to NumPy and/or SciPy, as much as I possibly can. I'm sure that your help will be welcomed! A good place to get started is helping out with documentation (see

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Scott Sinclair
On 31 March 2011 11:37, Pearu Peterson pearu.peter...@gmail.com wrote: On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen ro...@uw.edu wrote: In article

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Scott Sinclair
On 31 March 2011 12:18, Pearu Peterson pearu.peter...@gmail.com wrote: On Thu, Mar 31, 2011 at 1:00 PM, Scott Sinclair scott.sinclair...@gmail.com wrote: For what it's worth, the maintenance/1.6.x branch works for me on 64-bit Ubuntu: (numpy-1.6.x)scott@godzilla:~$ python -c import numpy

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Scott Sinclair
On 26 May 2011 10:37, Talla jta...@gmail.com wrote: C:\Python27 In addition when I run import command I got ('import' is not recognized as an internal or external command, operable program or batch file.) import is not a command you can run at your command line, it's part of Python. Do

[Numpy-discussion] Problem installing Numpy in virtualenv

2011-06-01 Thread Scott Sinclair
Hi, This is a response to http://mail.scipy.org/pipermail/numpy-discussion/2011-April/055908.html A cleaner workaround that doesn't mess with your system Python (see https://github.com/pypa/virtualenv/issues/118) Activate the virtualenv mkdir $VIRTUAL_ENV/local ln -s $VIRTUAL_ENV/lib

Re: [Numpy-discussion] git source datetime build error

2011-06-08 Thread Scott Sinclair
On 8 June 2011 17:27, Mark Wiebe mwwi...@gmail.com wrote: I've committed a fix for x86_64 as well now. Sorry for the breakage! Works for me. (numpy-master-2.7)scott@godzilla:~$ python -c import numpy; numpy.test() Running unit tests for numpy NumPy version 2.0.0.dev-76ca55f NumPy is installed

Re: [Numpy-discussion] Install error for numpy 1.6

2011-06-13 Thread Scott Sinclair
On 12 June 2011 21:08, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Jun 12, 2011 at 9:00 PM, Laurent Gautier lgaut...@gmail.com wrote: I did not find the following problem reported. When trying to install Numpy 1.6 with Python 2.7.1+ (r271:86832), gcc 4.5.2, and pip 1.0.1

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-14 Thread Scott Sinclair
On 13 June 2011 17:11, Derek Homeier de...@astro.physik.uni-goettingen.de wrote: you're right - I've tried to download the tarball, but am getting connection errors or incomplete downloads from all available SF mirrors, and apparently I was still too thick to figure out how to checkout a

Re: [Numpy-discussion] index the last several members of a ndarray

2011-10-18 Thread Scott Sinclair
On 18 October 2011 13:56, Chao YUE chaoyue...@gmail.com wrote: but it's strange that if you use b[...,-1], you get: In [402]: b[...,-1] Out[402]: array([ 9, 19]) if use b[...,-4:-1], you get: Out[403]: array([[ 6,  7,  8],    [16, 17, 18]]) That's because you're mixing two different

Re: [Numpy-discussion] Vector interpolation on a 2D grid (with realistic results)

2009-11-09 Thread Scott Sinclair
2009/11/8 Pierre GM pgmdevl...@gmail.com: Chris, I gonna poke around and try to find some kriging algorithms. I'll report in a few. In the meantime, if anybody has anythng already implemented, please just let us know. A little late with the reply. I've used gstat (http://www.gstat.org/) in

Re: [Numpy-discussion] Updating Packages in 2.5 (win/numpy) and Related Matters

2010-02-16 Thread Scott Sinclair
On 17 February 2010 07:25, josef.p...@gmail.com wrote: On Wed, Feb 17, 2010 at 12:10 AM, Wayne Watson sierra_mtnv...@sbcglobal.net wrote: Hi, I'm working on a 1800+ line program that uses tkinter. Here are the messages I started getting recently. (I finally figured out how to copy them.).

Re: [Numpy-discussion] Updating Packages in 2.5 (win/numpy) and Related Matters

2010-02-17 Thread Scott Sinclair
On 18 February 2010 05:30, Wayne Watson sierra_mtnv...@sbcglobal.net wrote: On 2/16/2010 10:01 PM, Scott Sinclair wrote: Wayne - The DeprecationWarnings are being raised by SciPy, not by your code. You probably don't have a recent version of SciPy installed. The most recent release of SciPy

Re: [Numpy-discussion] typo in docs

2010-06-08 Thread Scott Sinclair
On 8 June 2010 09:46, Sebastian Haase seb.ha...@gmail.com wrote: Hi, http://docs.scipy.org/doc/numpy/reference/arrays.dtypes.html#specifying-and-constructing-data-types says f2 instead of f1 Numarray introduced a short-hand notation for specifying the format of a record as a

Re: [Numpy-discussion] numpy.savez does /not/ compress!?

2010-06-08 Thread Scott Sinclair
2010/6/8 Hans Meine me...@informatik.uni-hamburg.de: I just wondered why numpy.load(foo.npz) was so much faster than loading (gzip-compressed) hdf5 file contents, and found that numpy.savez did not compress my files at all. But is that intended?  The numpy.savez docstring says Save several

Re: [Numpy-discussion] numpy.savez does /not/ compress!?

2010-06-08 Thread Scott Sinclair
2010/6/8 Hans Meine me...@informatik.uni-hamburg.de: On Tuesday 08 June 2010 11:40:59 Scott Sinclair wrote: The savez docstring should probably be clarified to provide this information. I would prefer to actually offer compression to the user. In the meantime, I've edited the docstring

Re: [Numpy-discussion] Newby question: best way to create a list of indices

2010-06-09 Thread Scott Sinclair
On 9 June 2010 12:01, Hanlie Pretorius hanlie.pretor...@gmail.com wrote: I'm reading netCDF files using pupynere and I want to extract 22 values from a 1440x400 array. I have the indices of the values, they are: 92      832 92      833 91      832 91      833 ... What is the best way to

Re: [Numpy-discussion] Function returns nothing!

2010-07-12 Thread Scott Sinclair
On 12 July 2010 11:45, allan oware lumte...@gmail.com wrote: Hi All! def height_diffs():     h = []     i = 0     while True:     x = raw_input(Enter height difference )     if x == 'q':     break     else:     h.append(x)     i = i + 1     m =

Re: [Numpy-discussion] Complex128

2010-07-20 Thread Scott Sinclair
On 19 July 2010 10:23, Pauli Virtanen p...@iki.fi wrote: Sun, 18 Jul 2010 21:15:15 -0500, Ross Harder wrote: mac os x leopard 10.5.. EPD installed i just don't understand why i get one thing when i ask for another. i can get what i want, but only by not asking for it. Do you get the same

Re: [Numpy-discussion] endian.h change

2010-07-30 Thread Scott Sinclair
On 30 July 2010 19:08, Ralf Gommers ralf.gomm...@googlemail.com wrote: Commit r8541 broke building with numscons for me, does this fix look okay: http://github.com/rgommers/numpy/commit/1c88007ab00cf378ebe19fbe54e9e868212c73d1 I am puzzled though why my endian.h is not picked up in the build -

Re: [Numpy-discussion] atlas not found, why?

2008-11-04 Thread Scott Sinclair
T J [EMAIL PROTECTED] 11/04/08 12:59 AM On Mon, Nov 3, 2008 at 10:46 AM, T J [EMAIL PROTECTED] wrote: Since these are all in the standard locations, I am building without a site.cfg. Here is the beginning info: Apparently, this is not enough. Only if I also set the ATLAS environment

Re: [Numpy-discussion] Bugs in histogram and matplotlib-hist

2008-11-12 Thread Scott Sinclair
Mike Ressler [EMAIL PROTECTED] 11/12/08 1:19 AM I did an update to a Fedora 9 workstation yesterday that included updating numpy to 1.2.0 and matplotlib 0.98.3 (python version is 2.5.1). This seems to have played havoc with some of the histogram plotting we do. I was aware of the histogram

Re: [Numpy-discussion] array indexing question

2008-11-13 Thread Scott Sinclair
2008/11/14 Catherine Moroney [EMAIL PROTECTED]: I have three arrays, with dimensions: A[np] L[np] S[np] where L and S indicate the line, smp co-ordinates for each of the np rows. I want to reconstruct the contents of [A] as a 2-dimensional matrix. The brain-dead version of what I want

[Numpy-discussion] r6056 - branches/visualstudio_manifest/numpy/distutils/command - Minor Typo

2008-11-17 Thread Scott Sinclair
2008/11/17 [EMAIL PROTECTED]: Author: cdavid Date: 2008-11-17 06:03:57 -0600 (Mon, 17 Nov 2008) New Revision: 6056 Modified: branches/visualstudio_manifest/numpy/distutils/command/config.py Log: Detect whether config link needs embedding the manifest for the MSVC runtime. Modified:

Re: [Numpy-discussion] difference between ma.masked and ma.masked_array?

2008-11-17 Thread Scott Sinclair
2008/11/17 Timmie [EMAIL PROTECTED]: what is the difference between ma.masked and ma.masked_array? I don't know the answer to that question, but both appear to be some kind of alias for the MaskedArray class and not part of the API. I am using this expression along with the scikit.timeseries:

Re: [Numpy-discussion] Getting indices from numpy array with condition

2008-11-19 Thread Scott Sinclair
2008/11/19 Robert Kern [EMAIL PROTECTED]: On Wed, Nov 19, 2008 at 01:31, David Warde-Farley [EMAIL PROTECTED] wrote: On 18-Nov-08, at 3:06 PM, Robert Kern wrote: I like to discourage this use of where(). For some reason, back in Numeric's days, where() got stuck with two functionalities.

Re: [Numpy-discussion] question about the documentation of linalg.solve

2008-11-19 Thread Scott Sinclair
2008/11/20 Charles R Harris [EMAIL PROTECTED]: On Wed, Nov 19, 2008 at 3:20 PM, Fabrice Silva [EMAIL PROTECTED] wrote: Le mercredi 19 novembre 2008 à 14:27 -0500, Alan G Isaac a écrit : So my question is not just what is the algorithm but also, what is the documentation goal? Concerning

Re: [Numpy-discussion] What happened to numpy-docs ?

2008-11-26 Thread Scott Sinclair
2008/11/27 Pierre GM [EMAIL PROTECTED]: I'd like to update routines.ma.rst on the numpy/numpy-docs/trunk SVN, but the whole trunk seems to be MIA... Where has it gone ? How can I (where should I) commit changes ? Hi Pierre, I've done a little bit of that at

Re: [Numpy-discussion] What happened to numpy-docs ?

2008-11-27 Thread Scott Sinclair
2008/11/27 Pauli Virtanen [EMAIL PROTECTED]: Thu, 27 Nov 2008 08:39:32 +0200, Scott Sinclair wrote: [clip] I have been under the impression that the documentation on the doc wiki http://docs.scipy.org/numpy/Front%20Page/ immediately (or at least very quickly) reflected changes in SVN

Re: [Numpy-discussion] Line of best fit!

2008-12-08 Thread Scott Sinclair
2008/12/8 James [EMAIL PROTECTED]: I am trying to plot a line of best fit for some data i have, is there a simple way of doing it? Hi James, Take a look at: http://www.scipy.org/Cookbook/FittingData http://www.scipy.org/Cookbook/LinearRegression and the section on least square fitting

Re: [Numpy-discussion] Line of best fit!

2008-12-08 Thread Scott Sinclair
2008/12/9 Angus McMorland [EMAIL PROTECTED]: Hi James, 2008/12/8 James [EMAIL PROTECTED]: I have a very simple plot, and the lines join point to point, however i would like to add a line of best fit now onto the chart, i am really new to python etc, and didnt really understand those links!

Re: [Numpy-discussion] how do I delete unused matrix to save the memory?

2008-12-09 Thread Scott Sinclair
2008/12/10 Robert Kern [EMAIL PROTECTED]: On Mon, Dec 8, 2008 at 19:15, frank wang [EMAIL PROTECTED] wrote: Hi, I have a program with some variables consume a lot of memory. The first time I run it, it is fine. The second time I run it, I will get MemoryError. If I close the ipython and

Re: [Numpy-discussion] Plot directive in numpy docs

2008-12-13 Thread Scott Sinclair
2008/12/12 Pauli Virtanen p...@iki.fi: Fri, 12 Dec 2008 14:20:50 +0100, Gael Varoquaux wrote: What is the guideline on using the plot directive in the numpy docs? No guideline yet, I'd suggest not to use it in docstrings yet, before we are sure it works as we want it to work. ** What to

[Numpy-discussion] ndarray.resize method and reference counting

2009-01-13 Thread Scott Sinclair
Hi, I'm confused by the following: import numpy as np np.__version__ '1.3.0.dev6116' # I expect this x = np.eye(3) x.resize((5,5)) x = np.eye(3) y = x x.resize((5,5)) Traceback (most recent call last): File stdin, line 1, in module ValueError: cannot resize an array that has been

Re: [Numpy-discussion] ndarray.resize method and reference counting

2009-01-13 Thread Scott Sinclair
Scott I can't reproduce the problem below. Would you please send a self-contained snippet? Note that, in Python, _ is a special variable that always points to the last result. In IPython there are several others. Cheers Stéfan 2009/1/13 Scott Sinclair scott.sinclair...@gmail.com: # I

Re: [Numpy-discussion] Help with interpolating missing values from a 3D scanner

2009-01-15 Thread Scott Sinclair
2009/1/16 Robert Kern robert.k...@gmail.com: On Thu, Jan 15, 2009 at 16:55, David Bolme bolme1...@comcast.net wrote: I am working on a face recognition using 3D data from a special 3D imaging system. For those interested the data comes from the FRGC 2004 dataset. The problem I am having is

Re: [Numpy-discussion] numpy.array and subok kwarg

2009-01-22 Thread Scott Sinclair
2009/1/22 Pierre GM pgmdevl...@gmail.com: Darren, The type returned by np.array is ndarray, unless I specifically set subok=True, in which case I get a MyArray. The default value of subok is True, so I dont understand why I have to specify subok unless I want it to be False. Is my subclass

Re: [Numpy-discussion] make latex in numpy/doc failed

2009-01-28 Thread Scott Sinclair
2009/1/27 Nils Wagner nwag...@iam.uni-stuttgart.de: a make latex in numpy/doc failed with ... Intersphinx hit: PyObject http://docs.python.org/dev/c-api/structures.html writing... Sphinx error: too many nesting section levels for LaTeX, at heading: numpy.ma.MaskedArray.__lt__ make: ***

Re: [Numpy-discussion] Documentation: objects.inv ?

2009-01-29 Thread Scott Sinclair
2009/1/29 Pierre GM pgmdevl...@gmail.com: Pauli, how often is the documentation on docs.scipy.org updated from SVN ? My understanding is the following: SVN - doc-wiki - updated once daily at around 10:00 (UTC?). doc-wiki - SVN - infrequently, when someone applies one or more doc patches

Re: [Numpy-discussion] minor improvment to ones

2009-01-30 Thread Scott Sinclair
2009/1/30 David Cournapeau da...@ar.media.kyoto-u.ac.jp: Neal Becker wrote: A nit, but it would be nice if 'ones' could fill with a value other than 1. Maybe an optional val= keyword? What would be the advantage compared to fill ? I would guess ones and zeros are special because those two

Re: [Numpy-discussion] Error building numpy documentation

2009-02-04 Thread Scott Sinclair
2009/2/4 Nadav Horesh nad...@visionsense.com: I just dowloads the latest numpy's svn version and tried to build its documentation with $ make latex on the doc subdirectory, and got the following error message: writing... Sphinx error: too many nesting section levels for LaTeX, at

Re: [Numpy-discussion] Numpy 1.3 release date ?

2009-02-04 Thread Scott Sinclair
2009/2/4 David Cournapeau da...@ar.media.kyoto-u.ac.jp: Scott Sinclair wrote: There are a bunch of documentation patches that should to be reviewed and applied to SVN before the release (especially those marked 'Needs review' or better). http://docs.scipy.org/numpy/patch/ In my mind

Re: [Numpy-discussion] porting NumPy to Python 3

2009-02-10 Thread Scott Sinclair
2009/2/10 James Watson watson@gmail.com: I want to make sure diffs are against latest code, but keep getting this svn error: svn update svn: OPTIONS of 'http://scipy.org/svn/numpy/trunk': Could not read status line: Connection reset by peer (http://scipy.org) There is some problem at

Re: [Numpy-discussion] loadtxt issues

2009-02-11 Thread Scott Sinclair
2009/2/12 A B python6...@gmail.com: Actually, I was using two different machines and it appears that the version of numpy available on Ubuntu is seriously out of date (1.0.4). Wonder why ... See the recent post here

Re: [Numpy-discussion] views and object lifetime

2009-02-18 Thread Scott Sinclair
2009/2/18 Neal Becker ndbeck...@gmail.com: Matthieu Brucher matthieu.brucher at gmail.com writes: B has a reference to A. Could you be more specific? Where is this reference stored? What C api functions are used? I'm probably not qualified to be much more specific, these links should

Re: [Numpy-discussion] Update webpage for python requirements for Numpy/SciPy

2009-02-19 Thread Scott Sinclair
2009/2/19 Jarrod Millman mill...@berkeley.edu: On Thu, Feb 19, 2009 at 1:24 PM, Bruce Southey bsout...@gmail.com wrote: Hi, Could someone please update the website to clearly state that numpy 1.2 requires Python 2.4 or later? I know it is in the release notes but that assumes people read

Re: [Numpy-discussion] Update webpage for python requirements for Numpy/SciPy

2009-02-20 Thread Scott Sinclair
2009/2/20 Pauli Virtanen p...@iki.fi: Fri, 20 Feb 2009 08:34:06 +0200, Scott Sinclair wrote: [clip] If someone can add a stub to the docs in SVN (patch attached for Numpy), I'm prepared to work on this. I can't see how to add pages in the doc-wiki... You can do also this in the doc-wiki

Re: [Numpy-discussion] Ticket mailing down?

2009-03-05 Thread Scott Sinclair
2009/3/6 Charles R Harris charlesr.har...@gmail.com: I'm not receiving notifications of new/modified tickets. Anyone else having this problem? ... Chuck I haven't seen anything since 3rd March. Cheers, Scott ___ Numpy-discussion mailing list

Re: [Numpy-discussion] Ticket mailing down?

2009-03-05 Thread Scott Sinclair
2009/3/6 Charles R Harris charlesr.har...@gmail.com: On Thu, Mar 5, 2009 at 10:47 PM, Scott Sinclair scott.sinclair...@gmail.com wrote: 2009/3/6 Charles R Harris charlesr.har...@gmail.com: I'm not receiving notifications of new/modified tickets. Anyone else having this problem

Re: [Numpy-discussion] f2py-problem fcompiler for f90-files missing

2009-04-07 Thread Scott Sinclair
2009/4/7 Tobias Lindberg tobias.lindb...@byggvetenskaper.lth.se: Background: I have installed the Python(xy) package (full) (numpy 1.2.1.2) both on my XP and Vista machine. On both these machines I have VS2008 installed as well. Then I read that one could write like this; f2py -m test -c

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Scott Sinclair
2009/6/10 David Goldsmith d_l_goldsm...@yahoo.com: My present job - and the Summer Numpy Doc Marathon - is premised on making changes/additions through the Wiki; if anyone other than registered developers is to be messing w/ the rst, it's news to me.  At this point, someone who knows

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Scott Sinclair
2009/6/10 David Goldsmith d_l_goldsm...@yahoo.com: --- On Wed, 6/10/09, Scott Sinclair scott.sinclair...@gmail.com wrote: The front page of the Doc-Wiki says: You do not need to be a SciPy developer to contribute, as any documentation changes committed directly to the Subversion

Re: [Numpy-discussion] Array resize question

2009-06-17 Thread Scott Sinclair
2009/6/16 Cristi Constantin darkg...@yahoo.com Good day. I have this array: a = array([[u'0', u'0', u'0', u'0', u'0', u' '],    [u'1', u'1', u'1', u'1', u'1', u' '],    [u'2', u'2', u'2', u'2', u'2', u' '],    [u'3', u'3', u'3', u'3', u'3', u' '],    [u'4', u'4', u'4',

Re: [Numpy-discussion] argwhere does not accept py list

2009-07-03 Thread Scott Sinclair
2009/7/3 Sebastian Haase seb.ha...@gmail.com: Hi, should this not be accepted: N.argwhere([4,0,2,1,3]) ? instead I get Traceback (most recent call last):  File input, line 1, in module  File ./numpy/core/numeric.py, line 510, in argwhere AttributeError: 'list' object has no attribute

Re: [Numpy-discussion] assigning ma.masked. Strange behavior

2009-07-06 Thread Scott Sinclair
2009/7/4 Ben Park benpar...@gmail.com: import numpy as np import numpy.ma as ma # There is no effect on the following assignment of ma.masked. a1 = ma.arange(10).reshape((2,5)) a1.ravel()[np.array([0,2,2])] = ma.masked In some situations ravel has to return a copy of the data instead of a

Re: [Numpy-discussion] argwhere does not accept py list

2009-07-08 Thread Scott Sinclair
2009/7/8 Robert Kern robert.k...@gmail.com: 2009/7/4 Stéfan van der Walt ste...@sun.ac.za: Thanks, Scott.  This should now be fixed in SVN. You should probably change that to asanyarray() before the masked array crowd gets upset. :-) I hadn't thought about that, but I'm don't think it

Re: [Numpy-discussion] argwhere does not accept py list

2009-07-08 Thread Scott Sinclair
2009/7/8 Pierre GM pgmdevl...@gmail.com: On Jul 8, 2009, at 3:18 AM, Scott Sinclair wrote: 2009/7/8 Robert Kern robert.k...@gmail.com: 2009/7/4 Stéfan van der Walt ste...@sun.ac.za: Thanks, Scott.  This should now be fixed in SVN. You should probably change that to asanyarray() before

Re: [Numpy-discussion] Getting 95%/99% margin of ndarray

2009-07-23 Thread Scott Sinclair
2009/7/22 Pierre GM pgmdevl...@gmail.com: You could try scipy.stats.scoreatpercentile, scipy.stats.mstats.plottingposition or scipy.stats.mstats.mquantiles, which will all approximate quantiles of your distribution. It seems that mquantiles doesn't do what you'd expect when the limit keyword

Re: [Numpy-discussion] Getting 95%/99% margin of ndarray

2009-07-23 Thread Scott Sinclair
2009/7/23 Pierre GM pgmdevl...@gmail.com: On Jul 23, 2009, at 6:07 AM, Scott Sinclair wrote: 2009/7/22 Pierre GM pgmdevl...@gmail.com: You could try scipy.stats.scoreatpercentile, scipy.stats.mstats.plottingposition or scipy.stats.mstats.mquantiles, which will all approximate quantiles

Re: [Numpy-discussion] String to integer array of ASCII values

2009-07-23 Thread Scott Sinclair
2009/7/23 David Goldsmith d_l_goldsm...@yahoo.com: --- On Thu, 7/23/09, Peter numpy-discuss...@maubp.freeserve.co.uk wrote: I should have guessed that one. Why isn't numpy.fromstring listed with the other entries in the From existing data section here? This looks like a simple improvement

Re: [Numpy-discussion] Doc-editor internal error

2009-08-01 Thread Scott Sinclair
Ignore the noise. Seems to be fixed now.. 2009/8/1 Scott Sinclair scott.sinclair...@gmail.com: Hi, I'm seeing 500 Internal Error at http://docs.scipy.org/numpy/stats/ Cheers, Scott ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http

  1   2   >