June 9, 2005
9:29 a.m.
"John" == John Hunter <jdhunter@ace.bsd.uchicago.edu> writes:
John> MAError: Cannot automatically convert masked array to John> Numeric because data is masked in one or more locations. Please ignore me -- I now see you have to use ma.sin not nx.sin (slaps self on head!) import numarray as nx import numarray.ma as ma t = ma.arange(0.0, 2.0, 0.01) tm = ma.masked_outside(t, .2, 1.2) s = ma.sin(tm) JDH