[Numpy-discussion] Array as Variable using "from cdms2 import MV2 as MV"

2011-04-24 Thread dileep kunjaai
Dear sir, I am have 2 mxn numpy array say "obs" & "fcst". I have to calculate* sum of squre of (obs[i, j]-fcst[i, j])* using from cdms2 import MV2 as MV in CDAT without using "for" loop. For example: obs= [0.61.10.020.2 0.2 0.80.0.0.4 0.8 0.55.5

Re: [Numpy-discussion] Segfault using "fromstring" and reading variable length string

2011-04-24 Thread Gökhan Sever
On Fri, Apr 22, 2011 at 6:32 PM, Mark Wiebe wrote: > I took a quick look at this issue and committed a fix. PyArray_FromString > was doing a check to exclude object arrays, but that check was incorrect. > Now it should appropriately raise an exception instead of creating an > invalid array. > > >

Re: [Numpy-discussion] assert and allclose

2011-04-24 Thread Ralf Gommers
On Mon, Apr 18, 2011 at 5:59 AM, wrote: > Some observations about allclose > > I have a test case where I would like to impose absolute > (logical_)and relative errors > > (Pdb) pdf_r > array([  2.97341655e-90,   3.68756271e-24,   2.01840159e-07, >         3.98942280e-01,   4.83941449e-01,   1.07

[Numpy-discussion] [ANN]: OpenPiv. A python package for PIV image analysis

2011-04-24 Thread Davide
Hi all, I am pleased to announce the re-birth of OpenPiv, a python package for the analysis of PIV images. PIV is a well established optical measurement technique for fluid flows. The package has the goal of provide an implementation of state-of-the-art processing algorithms, and compete with