I'm trying to retrieve the list of halo IDs for all particles from a HaloCatalog object. I think it is stored in something like "tags" (if I'm correctly reading yt_astro_analysis/halo_finding/halo_objects.py) but the following did *not* work:
from yt.extensions.astro_analysis.halo_analysis.api import HaloCatalog
data_ds = yt.load(snapname)
hc = HaloCatalog(data_ds=data_ds, finder_method='hop')
hc.create()
fof_tags = hc.tags
The error was:
AttributeError: 'HaloCatalog' object has no attribute 'tags'
Is it possible to access tags somehow? Or is there another way to get the halo ID list?
Thanks.
_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org