Hello,
When assigning a variable that is the transpose() of a memmap array, the
._mmap member doesn't get copied, I guess:
In [1]:import numpy
In [2]:amemmap = numpy.memmap( '/tmp/afile', dtype=numpy.float32, shape=(4,5),
mode='w+' )
In [3]:bmemmap = amemmap.transpose()
In [4]:bmemmap.close()
Jim Kleckner wrote:
> I'm fighting conversion from Numeric to numpy.
>
> One change that doesn't seem documented is that I used to be able to
> select items using lists and now it seems that I have to convert them to
> tuples. Is that correct and is there a function buried in there that
> will
Luke, I'd love to see that code and the associated
article. I do a lot of NLD.
--- Luke <[EMAIL PROTECTED]> wrote:
> I think this Journal sounds like an excellent idea.
> I have some
> python code that calculates the Lyapunov
> Characteristic Exponents (all
> of them), for a dynamical system t
Hi, Jim,
Just wondering why you would use item() rather than
index in brackets, i.e. a[i] ? The latter works
well in numpy. But maybe I'm missing something.
-- Lou Pecora
--- Jim Kleckner <[EMAIL PROTECTED]> wrote:
> I'm fighting conversion from Numeric to numpy.
>
> One change that doesn'
I'm fighting conversion from Numeric to numpy.
One change that doesn't seem documented is that I used to be able to
select items using lists and now it seems that I have to convert them to
tuples. Is that correct and is there a function buried in there that
will accept a list for indices?
Any
I think this Journal sounds like an excellent idea. I have some
python code that calculates the Lyapunov Characteristic Exponents (all
of them), for a dynamical system that I would be willing to write
about and contribute.
Do you envision the articles including applications of the algorithms/
ide