Skip to content

Commit

Permalink
set bound mass for PS
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Gilman committed Jan 27, 2025
1 parent 0e6a039 commit e7487a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyHalo/realization_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def add_prompt_cusps(self, mass_fraction):
halo.z, halo.is_subhalo, halo.lens_cosmo,
args, halo._truncation_class, halo._concentration_class,
halo.unique_tag)
if halo.is_subhalo:
prompt_cusp.set_bound_mass(halo.bound_mass)
halo._rescale_norm *= (1 - mass_fraction)
halo_list.append(halo)
halo_list.append(prompt_cusp)
Expand Down

0 comments on commit e7487a5

Please sign in to comment.