From: Travis O. <oli...@ie...> - 2006-07-24 19:24:53
|
Sebastian Haase wrote: > Hi! > I'm trying to convert my numarray records code to numpy. > >>> type(m.hdrArray) > <class 'numpy.core.records.recarray'> > >>> m.hdrArray.d > [(array([ 1., 1., 1.], dtype=float32),)] > > but I get: > >>> m.hdrArray[0].getfield('d') > 5.43230922614e-312 > > Am I missing something or is this a bug ? > Probably a bug. The getfield method needs more testing. File a ticket. -Travis |