Re: [Numpy-discussion] numpy : your experiences?

2007-11-21 Thread Robert Cimrman
Rahul Garg wrote: It would be awesome if you guys could respond to some of the following questions : a) Can you guys tell me briefly about the kind of problems you are tackling with numpy and scipy? I am using both numpy and scipy to solve PDEs in the context of finite element method

Re: [Numpy-discussion] numpy : your experiences?

2007-11-21 Thread Karol Langner
On Saturday 17 November 2007 03:50, Rahul Garg wrote: a) Can you guys tell me briefly about the kind of problems you are tackling with numpy and scipy? Organizing jobs in computational chemistry, and parsing/analyzing the output. To some extent, also some actual calculations and visualization.

Re: [Numpy-discussion] OT: A Way to Approximate and Compress a 3DSurface

2007-11-21 Thread Nadav Horesh
Wouldn't a random or regular subsampling of the set will do the job? For data interpolation: 2D-Delaunay triangulation based method (I think you can find one in the scipy cookbook). Nadav. -Original Message- From: [EMAIL PROTECTED] on behalf of Geoffrey Zhu Sent: Tue 20-Nov-07 19:50

Re: [Numpy-discussion] numpy : your experiences?

2007-11-21 Thread [EMAIL PROTECTED]
a) Can you guys tell me briefly about the kind of problems you are tackling with numpy and scipy? I'm using python with numpy,scipy, pytables and matplotlib for data analysis in the field of high energy particle physics. Most of the work is histograming millions of events, fitting functions to

Re: [Numpy-discussion] swig numpy2carray converters

2007-11-21 Thread Christopher Barker
David.Goldsmith wrote: Chris, just to be clear, this is addressed to the OP, correct? yes, but if anyone else want to come up with one, that would work too. -Chris What would be great is a simple trimmed down example -- a small-as-you-can-make-it class with a method that shows what you

Re: [Numpy-discussion] numpy : your experiences?

2007-11-21 Thread Brian Granger
On Nov 20, 2007 7:33 AM, Lou Pecora [EMAIL PROTECTED] wrote: Lately, I've been coding up a package to solved Schrodinger's Equation for 2D arbitrarily shaped, infinite wall potentials. I've settled on a Boundary Element Approach to get the eigenfunctions in these systems. The goal is to

Re: [Numpy-discussion] OT: A Way to Approximate and Compress a 3DSurface

2007-11-21 Thread Christopher Barker
Nadav Horesh wrote: Wouldn't a random or regular subsampling of the set will do the job? I have N tabulated data points { (x_i, y_i, z_i) } that describes a 3D surface. The surface is pretty smooth. If it's equally smooth everywhere, then yes, a subsampling would work fine, but I'm

Re: [Numpy-discussion] swig numpy2carray converters

2007-11-21 Thread Christopher Barker
Georg Holzmann wrote: As chris said, I need to make an example: http://grh.mur.at/software/numpy2carray.tar.gz Ah, I see now: /// @return internal big data without copying void getBigData(double **mtx, int *rows, int *cols) { *rows = drows; *cols = dcols; *mtx =

Re: [Numpy-discussion] swig numpy2carray converters

2007-11-21 Thread Georg Holzmann
Hallo! As chris said, I need to make an example: http://grh.mur.at/software/numpy2carray.tar.gz I added the following class-example: class_example.h: the C++ code class_example.i: the SWIG interface file class_example_usage.py: example usage in python And some comments: Bill Spotz schrieb:

Re: [Numpy-discussion] OT: A Way to Approximate and Compress a 3DSurface

2007-11-21 Thread Andrew Straw
Christopher Barker wrote: For data interpolation: 2D-Delaunay triangulation based method (I think you can find one in the scipy cookbook). yup -- but then you need the decimation to remove the unneeded points. I don't think Scipy has that. The sandbox does, thanks to Robert Kern. (And I

Re: [Numpy-discussion] OT: A Way to Approximate and Compress a 3D Surface

2007-11-21 Thread Bob Lewis
On 11/20/07, Anne Archibald posted: Subject: Re: [Numpy-discussion] OT: A Way to Approximate and Compress a 3D Surface From: Anne Archibald [EMAIL PROTECTED] Date: Tue, 20 Nov 2007 17:13:31 -0500 To: Discussion of Numerical Python numpy-discussion@scipy.org To: Discussion of Numerical

Re: [Numpy-discussion] numpy : your experiences?

2007-11-21 Thread Jan Strube
a) Can you guys tell me briefly about the kind of problems you are tackling with numpy and scipy? I'm using python with numpy,scipy, pytables and matplotlib for data analysis in the field of high energy particle physics. Most of the work is histograming millions of events, fitting

Re: [Numpy-discussion] swig numpy2carray converters

2007-11-21 Thread Bill Spotz
On Nov 21, 2007, at 10:07 AM, Georg Holzmann wrote: BTW: what is the difference between PyArray_SimpleNewFromData() and PyArray_FromDimsAndData() ? (I don't have this book ...) PyArray_SimpleNewFromData() is the new version and PyArray_FromDimsAndData() is the old version :-) Travis may