astropy / halotools

Python package for studying large scale structure, cosmology, and galaxy evolution using N-body simulations and halo models

Home Page:http://halotools.rtfd.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default halo catalogs should have num_ptcl_per_dim attribute

aphearin opened this issue · comments

The following line of code taken from the docstring of delta_sigma should not raise an exception:

total_num_ptcl_in_snapshot = halocat.num_ptcl_per_dim**3

Instead this raises:

AttributeError: 'CachedHaloCatalog' object has no attribute 'num_ptcl_per_dim'

Likewise, halocat.cosmology also triggers an error