so I am either introducing float
constant where possible
e.g. svar = ((n-1)*v) / float(df) becomes svar = ((n-1.0)*v) / df
or multiply by 1.0
Pierre GM wrote:
> On Friday 07 March 2008 12:25:13 Giorgio F. Gilestro wrote:
>> Ok, I see, thank you Pierre.
>> I thought scipy.stats
now :-) I think I
will go through here
http://scipy.org/scipy/scipy/query?status=new&status=assigned&status=reopened&milestone=Statistics+Review+Months&order=priority
and see what I can do.
Thanks
Pierre GM wrote:
> On Friday 07 March 2008 09:56:59 Giorgio F. Gi
Hi Everybody,
I have some arrays that sometimes need to have some of their values
masked away or, simply said, not considered during manipulation.
I tried to fulfill my purposes using both NaNs and MaskedArray but
neither of them really helped completely.
Let's give an example:
from numpy impor
Even just a build of the last stable version will do it. Most people
(especially those who don't want to go through the hassle of compiling)
are going to be perfectly happy with a binary of the latest release.
Thanks!
Barry Wark wrote:
> Using the gfortran from http://r.research.att.com/tools/,
only. You should probably email the guy and ask him to make
> older versions of the superpack available, or at least the last PPC
> one he made. Best of luck.
>
> Josh
>
> On Nov 29, 2007 1:54 PM, Giorgio F. Gilestro <[EMAIL PROTECTED]> wrote:
>
>> Hi guys,
>>
I am not sure I got what you mean but I am using PIL to convert arrays
to images and viceversa
see http://mail.python.org/pipermail/image-sig/2006-September/004099.html
I embed bmps using wxpython.
Zachary Pincus wrote:
> Hello all,
>
> I'm curious if people have experience with / preferences for
Hi guys,
does anyone of you happen to have sitting somewhere a DMG of a recent
version of SciPy compiled for MacOSX 10.4?
The SciPy webpage does not carry official releases and it is sending me
to the Scipy Superpack by Chris Fonnesbeck but that superpack seems to
be for intel cpu only. I didn't
2007 11:38 AM, Giorgio F. Gilestro <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hello everyone,
>
> ma and new_ma are bi-dimensional array with shape (a1, a2) on
> which I am
> performing the following iteration:
>
> for fd i
Hello everyone,
ma and new_ma are bi-dimensional array with shape (a1, a2) on which I am
performing the following iteration:
for fd in range(a1):
new_ma[fd] = [( ma[fd][i-5:i+5].sum() == 0 )*1 for i in range (a2)]
Is there any faster more elegant way to do that with numpy?
Thanks a lot!
G
BTW, I found nanmean and nanstd in scipy.stats.stats will be good for
my case too.
On 6/25/07, Charles R Harris <[EMAIL PROTECTED]> wrote:
>
>
> On 6/25/07, Giorgio F. Gilestro <[EMAIL PROTECTED]> wrote:
> > Masked array seems definitely to be the way to go, thanks a l
lt by all the array manipulating functions.
On 6/25/07, Pierre GM <[EMAIL PROTECTED]> wrote:
> On Monday 25 June 2007 14:15:20 Giorgio F. Gilestro wrote:
> > Thanks.
> > Actually those I care the most are average and std.
> > Is there a way to know the number of NaN in an
Thanks.
Actually those I care the most are average and std.
Is there a way to know the number of NaN in an array?
On 6/25/07, Timothy Hochberg <[EMAIL PROTECTED]> wrote:
>
>
>
> On 6/25/07, Giorgio F. Gilestro <[EMAIL PROTECTED]> wrote:
> > I find myself in
I find myself in a situation where an array may contain not-Numbers
that I set as NaN.
Yet, whatever operation I do on that array( average, sum...) will
threat the NaN as infinite values rather then ignoring them as I'd
like it'd do.
Am I missing something? Is this a bug or a feature? :-)
Thanks to everyone, really.
I already know this ml is going to be as useful as numpy itself!
In fact numpy.fromfile was the first function I tried to use but I
couldn't manage to get it working with the byteorder I needed
(big-endian).
The ['f0'] trick works very nicely though, so I think I'll us
Hello everyone.
Here I go with my first problem for this ml!
I am reading a long sequence of binary data from a file using a call
similar to the following
numpy.core.records.fromfile (filename, formats='i2', byteorder='big')
My problem is that this function returns an array of tuples rather
tha
15 matches
Mail list logo