9 Apr
2008
9 Apr
'08
4:57 p.m.
Sorry, I can answer my own question (page 22 of numpy book) booleans are supposed to be "?" my mistake. C. Charles Doutriaux wrote:
Hi I'm tracked down a bug in our code back to the numpy.ma
s2=numpy.array([[10,60],[65,45]]) s3=numpy.ma.masked_greater(s2,50.) s3.mask.dtype.char returns: '?'
In the Numeric -> numpy.ma (page 35) the "?" is not listed. Is it an omission in numpy.ma ? Or is it a valid char type ? s3.dtype does say it is of type "bool" which I guess should be 'B' or 'b' no ?
Thanks,
C.