[yt-users] run_halo_profiler.py
Agarwal, Shankar
sagarwal at ku.edu
Mon Nov 23 11:36:02 PST 2009
Hi, Is there a syntax error in the piece below I took from run_halo_profiler.py ...
"""
This is a recipe for making radial profiles and projections of all of the halos
within a cosmological simulation. See :ref:`halo_profiling` for full documentation
of the HaloProfiler.
"""
import yt.extensions.HaloProfiler as HP
# Instantiate HaloProfiler for this dataset.
hp = HP.HaloProfiler("RD0002/RedshiftOutput0002")
I get the following error...
[agarwa23 at tg-steele sim1]$ python run_halo_profiler.py
yt.lagos INFO 2009-11-23 14:20:48,664 No HDF4 support
/home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/lib/python2.6/site-packages/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
from sets import Set
Traceback (most recent call last):
File "run_halo_profiler.py", line 7, in <module>
import yt.extensions.HaloProfiler as HP
File "/autohome/u118/agarwa23/enzo1/src/yt/yt/extensions/HaloProfiler.py", line 30, in <module>
from HaloFilters import *
ImportError: No module named HaloFilters
shankar
More information about the yt-users
mailing list