[Numpy-discussion] numpy, matplotlib, scipy

2006-11-14 Thread Kenny Ortmann
I am sorry if this has come up before, I've found some stuff on it but just want to be clear. What are the latest versions of numpy matplotlib and scipy that work together. I have seen that numpy 1.0rc2 works with the latest scipy until 0.5.2 comes out. now with numpy and matplotlib? I saw that

[Numpy-discussion] matlab, filter function

2006-10-17 Thread Kenny Ortmann
just looking for some help, most of the time you guys are good with matlab code, i am trying to use the filter function under this setting y = filter(b,a,X) filters the data in vector X with the filter described by numerator coefficient vector b and denominator coefficient vector a. If a(1) is

Re: [Numpy-discussion] Complex numbers response

2006-10-03 Thread Kenny Ortmann
> There may be a better way, but:: > >alltrue(isreal(x)) > > Would work. As would: > >not sometrue(x.imag) > > In the above test you are already negating the test, so you could just > drop the not. >> and if so is >> there a way to extract the(a + ib) because the absolute value of a >> co

[Numpy-discussion] complex numbers

2006-10-03 Thread Kenny Ortmann
excuse my laziness for not looking this up, I googled it but could not find a solution. matlab has a isreal(array) where if the array is full of real numbers the value returned is 1. I'm translating matlab code and ran across if ~isreal(array) array = abs(array) Is there a way to check to se

Re: [Numpy-discussion] ValueError: object too deep for

2006-10-03 Thread Kenny Ortmann
Yeah thanks guys, I printed them out the size and realized what it was doing then used a for loop to put it into the 1D array, but thanks Travis the way you said makes it easier than the for loop. -Kenny - Take Surveys. E