You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is most likely that your halo_rvir column data is stored in kpc, rather than Mpc, so the data in this column need to have their units converted because Halotools assumes all distances in a halo catalog will be in the same units. This is a very common issue when processing Rockstar hlist files, and so there is a mechanism dedicated to resolving this difference in convention. Have a look at the docstring to the RockstarHlistReader.read_halocat method. The first argument is columns_to_convert_from_kpc_to_mpc, a list of strings. For any column you wish to read in and convert from kpc to Mpc, the name of the column should appear in this list.
On Thu, Mar 28, 2019 at 3:17 AM Andrew Hearin ***@***.***> wrote:
The problem is most likely that your halo_rvir column data is stored in
kpc, rather than Mpc, so the data in this column need to have their units
converted because Halotools assumes all distances in a halo catalog will be
in the same units. This is a very common issue when processing Rockstar
hlist files, and so there is a mechanism dedicated to resolving this
difference in convention. Have a look at the docstring to the
RockstarHlistReader.read_halocat method. The first argument is
columns_to_convert_from_kpc_to_mpc, a list of strings. For any column you
wish to read in and convert from kpc to Mpc, the name of the column should
appear in this list.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#935 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUSPJh3U5gM7UZCdIISTuMhVbguAaxzAks5va-31gaJpZM4cOwrH>
.
I have a rockstar catalog and when I try to retrieve the values of viral radius using columns_to_keep_dict, I get this:
The halo catalog and/or its associated metadata fail the following tests:
halo_rvir
columnmust be less than 50, crudely ensuring you used Mpc/h units.
Can anyone help here?
The text was updated successfully, but these errors were encountered: