Hi David,
I think that you can do what you want in one, rather long line:
hfile.createTable(grp, 'signal', description=np.array(zip(some_func(t, v)),
dtype=[('time', np.float64), ('value', np.float64)]))
Or two nicer lines:
arr = np.array(zip(some_func(t, v)), dtype=[('time', np.float64), ('val
Hi there,
I have some generic functions that take time series data with 2 numpy array
arguments, time and value, and return 2 numpy arrays of time and value.
I would like to place these arrays into a Numpy structured array or
directly into a new pytables table with fields, time and value.
Now Iv