On Nov 28, 2007 10:25 AM, joelvuillon <[EMAIL PROTECTED]> wrote: > in the same time, I will try the different paths you and Jonathan provide : > > importing MA : from fipy.tools.numerix import MA > discard the use of the old Numeric to avoid interference with numpy (I use > numpy.__version__ '1.0.3' and you seem to have no problem with > numpy.__version__ '1.0.1') > replace the use of numerix.MAtake which may cause, to my opinion, the main > troubles
We wrote MAtake as we thought MA.take didn't do what we wanted. For example take the operation a = MA.take(b, c). I think I am correct in saying that MA.take works as you expect if b is masked. However, if c is masked the operation doesn't work although there doesn't seem to be a good reason why it shouldn't. At least in your script, if c is not masked you don't have to use MAtake. (I may have mixed the ordering of b and c) Cheers -- Daniel Wheeler
