Re: [Numpy-discussion] Numpy intermittent seg fault

2015-12-13 Thread Jacopo Sabbatini
getenv (name=0x7f3907894dc5 "TO_BLOCK_FACTOR") at getenv.c:89 #1 0x7f3907059e21 in blas_set_parameter () from /opt/apps/sidescananalysis-9.7.1-29-gc2e684d+dev/lib/python2.7/site-packages/numpy/core/../../../../libopenblas.so.0 #2 0x7f3907058d91 in blas_memory_alloc () f

[Numpy-discussion] Numpy intermittent seg fault

2015-12-10 Thread Jacopo Sabbatini
image 0.11.3 np19py27_0 scipy 0.15.1 np19py27_0 shapely 1.5.7py27_0 system5.8 1 Cheers, Jacopo ___ NumPy-Discussion mailing list

Re: [Numpy-discussion] numpy subclass

2009-07-23 Thread Jacopo
Pierre GM gmail.com> writes: > > > On Jul 23, 2009, at 1:13 PM, Jacopo wrote: > > > > In short, I want to create a class Dummy, inherited from np.ndarray, > > which > > returns a plain array whenever an instance is sliced or viewed. I > > canno

[Numpy-discussion] numpy subclass

2009-07-23 Thread Jacopo
appreciate your help, here is a chunk of code, what is commented was an attempt which didn’t work out. Thanks a lot, Jacopo p.s. I can be more wordy in explain the problem i just dont want to overwhelm you. import numpy as np class Dummy(np.ndarray): def __new__(cls, array): obj=array.view(cls