[Yt-dev] Clarification of Enzo Parameters, TopGridRank and TopGridDimensions

j s oishi jsoishi at gmail.com
Wed Dec 22 11:08:07 PST 2010


Hi Chris,

Just as a point of clarification,

> I suspect you mean a one-dimensional array, instead of a multidimensional
> array (ndarray) here? If not, what are the other dimensions for?

An "ndarray" is the name of the numpy ndimensional array object type.
Matt was trying to clarify that it is a numpy array rather than a
native python list, not specifying that it is N-dimensional in the
sense of greater than one. An ndarray could be one-dimensional, for
example:

$ python -c "import numpy as na; a = na.zeros(10); print a.__class__"
<type 'numpy.ndarray'>

j



More information about the yt-dev mailing list