Closed Sherlockids closed 1 month ago
The attributes bound to the reader were really only intended to disambiguate one simulation from the next, to avoid collisions between multiple halo catalogs, and so cosmology
is not an attribute of the CachedHaloCatalog class. If you'd like to have cosmology
attached to a CachedHaloCatalog instance, probably the simplest thing is to just write a wrapper that inherits from CachedHaloCatalog and adds this attribute.
Thanks a lot.
SMDPL is not provided in the
halotools.empirical_models.PrebuiltHodModelFactory()
, so I build a SMDPL halo catalog viahalotools.sim_manager.RockstarHlistReader()
:But there is no attribute 'cosmology' in the output:
I want to ask how can I add attribute 'cosmology' into the output, since
halotools.sim_manager.RockstarHlistReader()
do not accept such a parameter.