
Hi, We need to make a dtype that needs to be defined in the user's application space. In the NumPy book there is a section devoted to this subject, but also warns: """ Adding data-types is one of the less well-tested areas for NumPy 1.0, so there may be bugs remaining in the approach. """ Anybody out there has tried this successfully? Thanks, -- Francesc Alted

On Thu, Jul 31, 2008 at 11:26 PM, Francesc Alted <faltet@pytables.org>wrote:
Hi,
We need to make a dtype that needs to be defined in the user's application space. In the NumPy book there is a section devoted to this subject, but also warns:
""" Adding data-types is one of the less well-tested areas for NumPy 1.0, so there may be bugs remaining in the approach. """
Anybody out there has tried this successfully?
Not me, but it is on my list. You will probably want to use at least a few ufuncs with it, no? The new type will probably also need a type number. Oh, Heck, give it a shot. Someone has to go first O_o Chuck

Charles R Harris wrote:
On Thu, Jul 31, 2008 at 11:26 PM, Francesc Alted <faltet@pytables.org>wrote:
Hi,
We need to make a dtype that needs to be defined in the user's application space. In the NumPy book there is a section devoted to this subject, but also warns:
""" Adding data-types is one of the less well-tested areas for NumPy 1.0, so there may be bugs remaining in the approach. """
Anybody out there has tried this successfully?
Not me, but it is on my list. You will probably want to use at least a few ufuncs with it, no? The new type will probably also need a type number. Oh, Heck, give it a shot. Someone has to go first O_o
Chuck
Yes, I have, a few months back. Check list archives.
participants (3)
-
Charles R Harris
-
Francesc Alted
-
Neal Becker