From 40ec5f99cd2619bc4aab5a4cb3eba37eb5dbd518 Mon Sep 17 00:00:00 2001 From: Daniel Gilman Date: Sat, 28 Sep 2024 13:47:54 -0500 Subject: [PATCH] fix setup of z_infall --- pyHalo/PresetModels/cdm.py | 2 +- pyHalo/PresetModels/wdm.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyHalo/PresetModels/cdm.py b/pyHalo/PresetModels/cdm.py index b6dd1b0..5e26b8e 100644 --- a/pyHalo/PresetModels/cdm.py +++ b/pyHalo/PresetModels/cdm.py @@ -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) diff --git a/pyHalo/PresetModels/wdm.py b/pyHalo/PresetModels/wdm.py index 9258db6..7c9d96c 100644 --- a/pyHalo/PresetModels/wdm.py +++ b/pyHalo/PresetModels/wdm.py @@ -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) @@ -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) diff --git a/setup.py b/setup.py index 8814296..917cfc8 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( author="Daniel Gilman", version='1.3.2', - author_email='daniel.gilman@utoronto.ca', + author_email='gilmanda@uchicago.edu', classifiers=[ #'Development Status :: 5 - Stable', 'Intended Audience :: Science/Research',