Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion zeus21/UVLFs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

Edited by Hector Afonso G. Cruz
JHU - July 2024

Bug fix by Emily Bregou
UT Austin - June 2025
"""

from . import cosmology
Expand Down Expand Up @@ -68,8 +71,8 @@ def UVLF_binned(Astro_Parameters,Cosmo_Parameters,HMF_interpolator, zcenter, zwi
if(DUST_FLAG==True):
currMUV2 = np.ones_like(currMUV)
while(np.sum(np.abs((currMUV2-currMUV)/currMUV)) > 0.02):
currMUV = MUVbarlist + AUV(Astro_Parameters,zcenter,currMUV)
currMUV2 = currMUV
currMUV = MUVbarlist + AUV(Astro_Parameters,zcenter,currMUV)


MUVcuthi = MUVcenters + MUVwidths/2.
Expand Down