[Numpy-discussion] returning recarray records as plain arrays
Pierre GM
pgmdevlist at gmail.com
Wed Jan 3 15:05:27 CST 2007
On Wednesday 03 January 2007 15:39, Matthew Koichi Grimes wrote:
> As per Stefan's help, I've made a subclass of recarray called nnvalue.
> It just fixes the dtype to [('x', 'f8'), ('dx', 'f8'), ('delta', 'f8)],
> and adds a few member functions. I basically treat nnvalue as a struct
> with three equal-shaped array fields: x, dx, and delta.
Matthew,
Please try to post (pieces of) your code, so that we can have a better idea of
how to help you.
Thanks in advance
P.
More information about the Numpy-discussion
mailing list