Re: [Numpy-discussion] F2PY future

2008-04-11 Thread Gael Varoquaux
On Fri, Apr 11, 2008 at 09:48:21AM -0700, Andrew Straw wrote: > Another option: the IPython people have been using launchpad.net ( > https://launchpad.net/ipython ) -- it supports bzr. I'm not sure how > happy they are with it, but I think happy enough to stick with it rather > than attempt to g

Re: [Numpy-discussion] F2PY future

2008-04-11 Thread Fernando Perez
On Fri, Apr 11, 2008 at 9:48 AM, Andrew Straw <[EMAIL PROTECTED]> wrote: > Pearu Peterson wrote: > > Use Google Code. Pros: it provides necessary infrastructure to develop > > software projects and I am used to it. Cons: in my experience Google > > Code has been too many times broken (at least t

Re: [Numpy-discussion] [SciPy-dev] F2PY future

2008-04-11 Thread Brian Granger
> Another option: the IPython people have been using launchpad.net ( > https://launchpad.net/ipython ) -- it supports bzr. I'm not sure how > happy they are with it, but I think happy enough to stick with it rather > than attempt to get a server with hg set up. IIRC, they did initially > margi

[Numpy-discussion] SciPy to be down intermittently today

2008-04-11 Thread Travis E. Oliphant
Hey everyone, The scipy.org site will be down intermittently today. We are trying to upgrade its memory to improve performance. Thank you, -Travis O. ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman

[Numpy-discussion] OWNDATA flag and reshape() -- views vs. copies

2008-04-11 Thread Guillaume Desjardins
I'm pretty new to Python and numpy (longtime c / matlab programmer), but after a read through some of the past threads and Travis' "Guide to Numpy", I think I have a fairly good understanding of how the reshape() function / methods work, with regards to views and copies. For what its worth (and to

Re: [Numpy-discussion] vander() docstring

2008-04-11 Thread Stéfan van der Walt
On 11/04/2008, Andreas Klöckner <[EMAIL PROTECTED]> wrote: > On Freitag 11 April 2008, Robert Kern wrote: > > On Thu, Apr 10, 2008 at 10:57 PM, Charles R Harris > > > > <[EMAIL PROTECTED]> wrote: > > > Turns out it matches the matlab definition. Maybe we just need another > > > function: vande

Re: [Numpy-discussion] F2PY future

2008-04-11 Thread Andrew Straw
Pearu Peterson wrote: > Use Google Code. Pros: it provides necessary infrastructure to develop > software projects and I am used to it. Cons: in my experience Google > Code has been too many times broken (at least three times in half a > year), though this may improve in future. Also, Google Cod

Re: [Numpy-discussion] Normal Distribution With NumPy?

2008-04-11 Thread Rich Shepard
On Fri, 11 Apr 2008, Keith Goodman wrote: > Here's the formula: Thanks, Keith. While I had read that page before I had not followed the link to the FWMH page, and that provided the insight I needed. It's all working now. Rich -- Richard B. Shepard, Ph.D. | Integrity

Re: [Numpy-discussion] Normal Distribution With NumPy?

2008-04-11 Thread Keith Goodman
On Fri, Apr 11, 2008 at 9:05 AM, Rich Shepard <[EMAIL PROTECTED]> wrote: >I see in the NumPy Book that there are functions to allow generation of > beta, binomial, and poisson curves, but I don't see one for normal curves. > Is there such a function? > >Currently I'm using code (I forget

[Numpy-discussion] Normal Distribution With NumPy?

2008-04-11 Thread Rich Shepard
I see in the NumPy Book that there are functions to allow generation of beta, binomial, and poisson curves, but I don't see one for normal curves. Is there such a function? Currently I'm using code (I forget from where) that creates a Gaussian distribution, but the tails do not reach zero (w

Re: [Numpy-discussion] vander() docstring

2008-04-11 Thread Andreas Klöckner
On Freitag 11 April 2008, Robert Kern wrote: > On Thu, Apr 10, 2008 at 10:57 PM, Charles R Harris > > <[EMAIL PROTECTED]> wrote: > > Turns out it matches the matlab definition. Maybe we just need another > > function: vandermonde > > -1 It's needless duplication. Agree. Let's just live with Matlab

Re: [Numpy-discussion] Array printing and another question

2008-04-11 Thread Ken Basye
Hi, Thanks for the reply. The formatting code, such as it is, is below. It uses Martin Jansche's double.py (http://symptotic.com/mj/double/double.py) and then does some simple bit twiddling. I'm still hoping someone can help me find a way to use this format for arrays of float64s. Ken

Re: [Numpy-discussion] Making NumPy accessible to everyone (or no-one)

2008-04-11 Thread Ravi
On Friday 11 April 2008 04:57:31 am Christopher Burns wrote: > I think namespaces are one of the crown-jewels that make python more > attractive to scientists (not programmers) over Matlab.  Even if they don't > realize it yet.  :) As a humble user who has neither the python-fu nor extension-fu to

Re: [Numpy-discussion] F2PY future

2008-04-11 Thread Pearu Peterson
Bill Baxter wrote: > I'm afraid I'm not much help answering your questions. But one thing > I've wondered about f2py is if it could be generalized into an f2*** > tool. How intertwined is the analysis of the fortran with the > synthesis of the python? There are lots of languages that could > be

Re: [Numpy-discussion] F2PY future

2008-04-11 Thread Bill Baxter
I'm afraid I'm not much help answering your questions. But one thing I've wondered about f2py is if it could be generalized into an f2*** tool. How intertwined is the analysis of the fortran with the synthesis of the python? There are lots of languages that could benefit from a fortran wrapper g

[Numpy-discussion] F2PY future

2008-04-11 Thread Pearu Peterson
Hi, I am in a process of writing a scientific paper about F2PY that will provide an automatic solution to the Python and Fortran connection problem. While writing it, I also need to decide what will be the future of F2PY. In particulary, I have the following main questions to which I am lookin

Re: [Numpy-discussion] Making NumPy accessible to everyone (or no-one) (was Numpy-discussion Digest, Vol 19, Issue 44)

2008-04-11 Thread Christopher Burns
On Thu, Apr 10, 2008 at 3:55 AM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > Hi Joe, all > > On 10/04/2008, Joe Harrington <[EMAIL PROTECTED]> wrote: > > > Absolutely. Let's please standardize on: > > > import numpy as np > > > import scipy as sp > > > > I hope we do NOT standardize on th

Re: [Numpy-discussion] Making NumPy accessible to everyone (or no-one) (was Numpy-discussion Digest, Vol 19, Issue 44)

2008-04-11 Thread Jarrod Millman
On Thu, Apr 10, 2008 at 10:17 AM, Lou Pecora <[EMAIL PROTECTED]> wrote: > Yes, I use np= number of points, too. But you all > might want to use something else. That's the point of > the flexibility of import ... as I would recommend against using np as a variable name. Variable names should

Re: [Numpy-discussion] meaning of accumulation/normalisation

2008-04-11 Thread wilson
> > newul=ul/norm >>the java doc mentions that by the above steps ul is normalised to unit length (vector length) > Umm, not quite, it is missing a square root. You can get the same result by > using the Frobenius norm thanks Chuck.. i found the norm as you advised and then found newul=ul/norm

Re: [Numpy-discussion] float32 is not a float ?

2008-04-11 Thread Anne Archibald
On 10/04/2008, Charles R Harris <[EMAIL PROTECTED]> wrote: > I think you want the isreal function, but it will also return true for > complex with 0 imaginary part. Hmm... the various iswhatever functions seem > to be lacking in coverage. Maybe we should fix that. icomplexobj is designed to solve