g into one file. It'd also be nice if it were
cross-platform, and I could depend on the files being readable into the future
for a while.
Are there any good standards for this? What do you use for saving scientific
data?
thank you,
Brian Blais
On May 14, 2010, at 16:03 , josef.p...@gmail.com wrote:
> On Fri, May 14, 2010 at 3:26 PM, wrote:
>> On Fri, May 14, 2010 at 2:43 PM, Brian Blais
>> wrote:
>>> Hello,
>>>
>>> I have the following code, where I noticed a memory leak with +=,
>
, but it also causes memory
build-up in 2.6 with numpy 1.4.0, as distributed by the Enthought
Python Distribution.
It's easy to work around, but could cause someone some problems.
Anyone else get this?
bb
--
Brian Blais
bbl...@bryant.edu
http://web.bryan
lever way to do this? I could write a quick Cython
solution, but I wanted to keep this as an all-numpy implementation if
I can.
thanks,
Brian Blais
--
Brian Blais
bbl...@bryant.edu
http://web.bry
On Sep 30, 2008, at 23:16 , Lisandro Dalcin wrote:
On Tue, Sep 30, 2008 at 9:27 PM, Brian Blais <[EMAIL PROTECTED]>
thanks for all of the help. My initial solution is to pickle my
object,
with the text-based version of pickle, and send it across rpc. I
do this
because the actual t
I am doing.
Sebastien, why is sending python objects over the wire not so
useful? is there a better way to do this sort of thing than xmlrpc?
I thought it looked particularly simple (other than this pickling
issue, of course. :) ).
thanks,
bb
ncy of the marshal library, or perhaps I
am doing something wrong. Is there a way to fix this? Is there
another approach that I should be using?
thanks,
Brian Blais
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
_
line to say that the syntax a[0:3][:,4:9] gave read-only
access.
bb
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org
Notes
a(1:3,5:9) a[0:3][:,4:9] rows one to three and columns five to nine of a
because this example gives a read-only submatrix. I looked there
first to get an answer, and it wasn't forthcoming.
thanks for the tip!
bb
--
Brian Blais
[EMAIL PROTECTED]
thanks,
Brian Blais
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
array, although I am not sure what a convenient alternative
would be.
bb
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/lis
what I am doing below? I tried
to follow code I found online, but the examples of this are few and
far between.
thanks you for any help!
Brian Blais
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
from numpy import ndarray,prod,array
class MyObject(o
umpy.uint8)
a.shape = (sw, sh, 4)
a = a[:,:,0:3] #drop alpha channel
but when I do it (see code below) the image is clearly munged, so I
think the decoding is not quite right.
any ideas?
thanks,
Brian Blais
--
Brian Blais
[EMAIL PROTECTED]
http://web
e out how to do the
conversion.
bb
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
convenient would be avi, mov, and flv (for youtube videos).
thanks,
Brian Blais
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
___
Numpy-discussion mailing list
Numpy-discussion@scip
ers give a hardware error and a crash!
I boiled it down to the code below. Can anyone reproduce (or not)
this error?
thanks,
bb
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.e
Christopher Barker wrote:
> Sturla Molden wrote:
>> It is
>> also easier to write C or Fortran extensions for Matlab than for Python.
>
> Really? I"m not so sure about that -- I found mex file writing pretty
> painful.
>
> With weave, boost, pyrex, swig, f2py, etc, the hardest thing about
> wr
, -6],
[ 5, -5],
[ 6, -4],
[ 7, -3],
[ 8, -2],
[ 9, -1]])
?
I thought there would be an easier way. Did I overlook something?
thanks,
Brian Blais
--
-
[EMAIL PROT
a way that is recommended?
thanks,
Brian Blais
--
-
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
___
Numpy-discussion mailing list
Numpy-
Travis Oliphant wrote:
> Sebastian Haase wrote:
>
>> Travis,
>> Could you explain what a possible downside of this would be !?
>
> I can't think of any downsides. I have to understand how class-methods
> are actually implemented, though before I could comment on speed
> implications of class m
20 matches
Mail list logo