On Nov 27, 2007, at 5:38 PM, Daniel Wheeler wrote:


One other thing, you are mixing MA with numpy. Probably not a good idea as MA (I think) goes with the old Numeric package. The new "MA" is numpy.ma if
I am not mistaken.

It depends.   Our numerix module does:

  from numpy.core import ma as MA

so that you can do

  from fipy.tools.numerix import MA

and get the right thing. At least in recent versions of FiPy, you can also do

  from fipy import *

and get the correct masked array package.



If, on the other hand, you're doing

  import MA

or anything that doesn't import by way of FiPy, then I agree; this will be the old one for Numeric, and so could cause problems with NumPy.


Reply via email to