Using np.loadtxt I can easily read my file that has columns of time, mode, 3
float64 for position and 3 for velocity like this.
dt = dtype([('time', '|S12'),
('mode','|S3'),('rx','f8'),('ry','f8'),('rz','f8'),('vx','f8'),('vy','f8'),('vz','f8')])
data = np.loadtxt('file', dtype=dt)
I can
On Fri, Apr 8, 2011 at 9:23 PM, Robert Love rblove_li...@comcast.netwrote:
Using np.loadtxt I can easily read my file that has columns of time, mode,
3 float64 for position and 3 for velocity like this.
dt = dtype([('time', '|S12'),