Changes between Version 9 and Version 10 of MaskedArray

Show
Ignore:
Timestamp:
01/20/06 15:19:51 (7 years ago)
Author:
sasha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MaskedArray

    v9 v10  
    99= Migration Guide = 
    1010 
    11 describe migration from Numeric.MA to numpy.ma here 
     11 1. a.mask and getmask(a) will now return ma.nomask constant, which is defined as an array boolean scalar False_. 
     12      If your code relies on an explicit "m is None" check, it should be changed to "m is nomask."  In many case this check 
     13      will now be redundant because nomask provides full array interface. For example "m is None or not sometrue(m)" 
     14      can now be written as "not m.any()". 
     15 
    1216---- 
    1317= Ufuncs and Masked Arrays =