Skip to content

Commit

Permalink
fix setup of z_infall
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Gilman committed Sep 28, 2024
1 parent a5b8cab commit 40ec5f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyHalo/PresetModels/cdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class for details
# WE ALSO SPECIFY THE GEOMETRY OF THE RENDERING VOLUME
geometry = Geometry(pyhalo.cosmology, z_lens, z_source,
cone_opening_angle_arcsec, geometry_type)
if kwargs_infall_model == 'HYBRID_INFALL':
if infall_redshift_model == 'HYBRID_INFALL':
kwargs_infall_model['log_m_host'] = log_m_host
pyhalo.lens_cosmo.setup_infall_model(infall_redshift_model, kwargs_infall_model)

Expand Down
4 changes: 2 additions & 2 deletions pyHalo/PresetModels/wdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class for details
# WE ALSO SPECIFY THE GEOMETRY OF THE RENDERING VOLUME
geometry = Geometry(pyhalo.cosmology, z_lens, z_source,
cone_opening_angle_arcsec, geometry_type)
if kwargs_infall_model == 'HYBRID_INFALL':
if infall_redshift_model == 'HYBRID_INFALL':
kwargs_infall_model['log_m_host'] = log_m_host
pyhalo.lens_cosmo.setup_infall_model(infall_redshift_model, kwargs_infall_model)

Expand Down Expand Up @@ -308,7 +308,7 @@ def WDMGeneral(z_lens, z_source, log_mc, dlogT_dlogk, sigma_sub=0.025, log_mlow=
# WE ALSO SPECIFY THE GEOMETRY OF THE RENDERING VOLUME
geometry = Geometry(pyhalo.cosmology, z_lens, z_source,
cone_opening_angle_arcsec, geometry_type)
if kwargs_infall_model == 'HYBRID_INFALL':
if infall_redshift_model == 'HYBRID_INFALL':
kwargs_infall_model['log_m_host'] = log_m_host
pyhalo.lens_cosmo.setup_infall_model(infall_redshift_model, kwargs_infall_model)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
setup(
author="Daniel Gilman",
version='1.3.2',
author_email='[email protected]',
author_email='[email protected]',
classifiers=[
#'Development Status :: 5 - Stable',
'Intended Audience :: Science/Research',
Expand Down

0 comments on commit 40ec5f9

Please sign in to comment.