Re: [Numpy-discussion] masked record arrays

2009-11-07 Thread Pierre GM
On Nov 7, 2009, at 2:26 PM, Thomas Robitaille wrote: > > Thanks for the advice! I'm somewhat confused by the difference between > structured and record arrays. My understanding is that record arrays > allow > you to access fields by attribute (e.g. r.field_name), but I imagine > that > there a

Re: [Numpy-discussion] masked record arrays

2009-11-07 Thread Thomas Robitaille
Pierre GM-2 wrote: > > Mmh. With a recent (1.3) version of numpy, you should already be able > to mask individual fields of a structured array without problems. If > you need fields to be accessed as attributes the np.recarray way, you > can give numpy.ma.mrecords.MaskedRecords a try. It's