[yt-users] yt/ART/two questions

Pedro Colin p.colin at crya.unam.mx
Fri Feb 15 14:56:57 PST 2013


Hi,

yt has been installed and I have already done some tests. I can load data from
ART  but I have run into some problems. At this moment, I have a couple of
questions. One of the things that yt can do is to find the maximum of the
density field and give you the coordenates of it. The web page says that
coordinates are in code units which I guess are yt units, [0,1] in any
direction. If this is so, the maximum found by yt does not agree with the one
I found with ifrit. A second point is that when I try to compute the
"AngularMomentumVector" inside a sphere it gives me an error (with Enzo test
data I don't have this problem):

my_sphere.quantities["AngularMomentumVector"]()

  File
"/fs/nova/other0/local/yt/yt-x86_64/src/yt-hg/yt/data_objects/field_info_container.py",
line 316, in __call__
    dd = self._function(self, data)
TypeError: _x_velocity() takes exactly 1 argument (2 given)


Regards,

Pedro



More information about the yt-users mailing list