[yt-users] cookbook_hop_mass_sum.py
Agarwal, Shankar
sagarwal at ku.edu
Mon Nov 23 13:41:47 PST 2009
Hi,
I ran cookbook_hop_mass_sum.py and it gives me this error...
Traceback (most recent call last):
File "cookbook_hop_mass_sum.py", line 19, in <module>
sphere = halo.get_sphere()
File "/autohome/u118/agarwa23/enzo1/src/yt/yt/lagos/HaloFinding.py", line 128, in get_sphere
center, radius=radius)
File "/autohome/u118/agarwa23/enzo1/src/yt/yt/lagos/BaseDataTypes.py", line 1800, in __init__
raise SyntaxError("Your radius is smaller than your finest cell!")
SyntaxError: Your radius is smaller than your finest cell!
How does it matter if halo radius is smaller than finest cell ?
cookbook_hop_mass_sum.py should just spit the baryon mass, dark matter mass and total mass.
# Group Mass # part max densx y z center-of-mass x y z vx vy vz max_r
0 1.009603589e+15 3202 6.803410660e+03 2.691574395e-01 1.892197430e-01 8.293117285e-01 2.701045173e-01 1.889703433e-01 8.276973165e-01 -6.232934392e+06
-2.872425257e+07 1.526929994e+06 1.886896417e-02
shankar
More information about the yt-users
mailing list