Re: [Numpy-discussion] nose changes checked in

2008-06-16 Thread Robert Kern
On Mon, Jun 16, 2008 at 21:18, Alan McIntyre <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 9:04 PM, Charles R Harris > <[EMAIL PROTECTED]> wrote: >> In [1]: numpy.test() >> Not implemented: Defined_Binary_Op >> Not implemented: Defined_Binary_Op >> Defined_Operator not defined used by Gener

Re: [Numpy-discussion] nose changes checked in

2008-06-16 Thread Charles R Harris
On Mon, Jun 16, 2008 at 8:18 PM, Alan McIntyre <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 9:04 PM, Charles R Harris > <[EMAIL PROTECTED]> wrote: > > Did you add any documentation to the readme? Any particular version > > dependency for Nose? > > I did update README.txt, but I forgot to p

Re: [Numpy-discussion] nose changes checked in

2008-06-16 Thread Alan McIntyre
On Mon, Jun 16, 2008 at 9:04 PM, Charles R Harris <[EMAIL PROTECTED]> wrote: > Did you add any documentation to the readme? Any particular version > dependency for Nose? I did update README.txt, but I forgot to put the minimum Nose version in there; thanks for mentioning that. I just checked in a

Re: [Numpy-discussion] nose changes checked in

2008-06-16 Thread Alan McIntyre
On Mon, Jun 16, 2008 at 8:39 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 19:28, Alan McIntyre <[EMAIL PROTECTED]> wrote: > Please port over the changes I made to scipy.testing in scipy's r4424 > in order to avoid importing nose until the actual execution of tests. Done in

Re: [Numpy-discussion] Polyfit

2008-06-16 Thread Anne Archibald
2008/6/16 Chandler Latour <[EMAIL PROTECTED]>: > I believe I'm bound to python. > In terms of forcing the regression through the origin, the purpose is partly > for visualization but it also should fit the data. It would not make sense > to model the data with an initial value other than 0. Polyf

Re: [Numpy-discussion] nose changes checked in

2008-06-16 Thread Charles R Harris
On Mon, Jun 16, 2008 at 6:28 PM, Alan McIntyre <[EMAIL PROTECTED]> wrote: > Hi all, > > I just checked in the switch to use nose to run unit tests. Please > let me know if you experience any difficulties as a result. > Did you add any documentation to the readme? Any particular version dependenc

Re: [Numpy-discussion] nose changes checked in

2008-06-16 Thread Robert Kern
On Mon, Jun 16, 2008 at 19:28, Alan McIntyre <[EMAIL PROTECTED]> wrote: > Hi all, > > I just checked in the switch to use nose to run unit tests. Please > let me know if you experience any difficulties as a result. Please port over the changes I made to scipy.testing in scipy's r4424 in order to

[Numpy-discussion] nose changes checked in

2008-06-16 Thread Alan McIntyre
Hi all, I just checked in the switch to use nose to run unit tests. Please let me know if you experience any difficulties as a result. Thanks, Alan ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/

Re: [Numpy-discussion] Polyfit

2008-06-16 Thread Chandler Latour
I believe I'm bound to python. In terms of forcing the regression through the origin, the purpose is partly for visualization but it also should fit the data. It would not make sense to model the data with an initial value other than 0. On Jun 16, 2008, at 4:33 PM, Simon Palmer wrote: At

Re: [Numpy-discussion] Polyfit

2008-06-16 Thread Simon Palmer
At the risk of uttering a heresy, are you bound to Python for this? I bet you could find a C library that will work well, plus it is not a hard algorithm to code yourself. I am pretty sure I have used a numerical recipes algorithm for regression in my distant past. Also I can't help thinking the

Re: [Numpy-discussion] Polyfit

2008-06-16 Thread Charles R Harris
On Mon, Jun 16, 2008 at 1:47 PM, Chandler Latour <[EMAIL PROTECTED]> wrote: > Yes, exactly what I meant. > Polyfit just fits polynomials, there is no way of fixing the constant to zero. Your best bet is to use linalg.lstsq directly to fit the function you want. Chuck

Re: [Numpy-discussion] Polyfit

2008-06-16 Thread Chandler Latour
Yes, exactly what I meant. On Jun 16, 2008, at 2:39 PM, Charles R Harris wrote: On Mon, Jun 16, 2008 at 1:30 PM, Chandler Latour <[EMAIL PROTECTED]> wrote: Hello, I'm new to the whole numpy scene, but I've been wanting to run a regression on some data. I belive that polyfit is the way to

Re: [Numpy-discussion] Polyfit

2008-06-16 Thread Charles R Harris
On Mon, Jun 16, 2008 at 1:30 PM, Chandler Latour <[EMAIL PROTECTED]> wrote: > Hello, > > I'm new to the whole numpy scene, but I've been wanting to run a > regression on some data. I belive that polyfit is the way to go, but > I was wondering if there exists a way to force the intercept to be 0.

[Numpy-discussion] Polyfit

2008-06-16 Thread Chandler Latour
Hello, I'm new to the whole numpy scene, but I've been wanting to run a regression on some data. I belive that polyfit is the way to go, but I was wondering if there exists a way to force the intercept to be 0. Any help would be much appreciated. Thanks ___

[Numpy-discussion] Detecting phase windings

2008-06-16 Thread [EMAIL PROTECTED]
I have a speed problem with the approach I'm using to detect phase wrappings in a 3D data set. In my application, phaseField is a 3D array containing the phase values of a field. In order to detect the vortices/phase windings at each point, I check for windings on each of 3 faces of a 2x2 cube w