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
In the cluster count likelihood, we evaluate the halo mass function within the integrand and therefore need this evaluation to be fast. We vectorized the code, but cannot fully because the halo mass function evaluation can only accept a float value for the scale factor. We would like this function call to also support passing an array of scale factor values.
we can pass an array of mass M, but not an array of scale factors a. It would be great to have this added into CCL, and have the for loop over the scale factors be implemented in the C code.
I think the for loop that needs to be modified is here (?):
The text was updated successfully, but these errors were encountered:
mattkwiecien
changed the title
Add support for passing an array of scale factors into sigM_vec
Add support for passing an array of scale factors into halo_model_base.__call__Oct 24, 2023
In the cluster count likelihood, we evaluate the halo mass function within the integrand and therefore need this evaluation to be fast. We vectorized the code, but cannot fully because the halo mass function evaluation can only accept a
float
value for the scale factor. We would like this function call to also support passing an array of scale factor values.Specifically, when we invoke
CCL/pyccl/halos/halo_model_base.py
Line 180 in 29d4697
we can pass an array of mass
M
, but not an array of scale factorsa
. It would be great to have this added into CCL, and have the for loop over the scale factors be implemented in the C code.I think the for loop that needs to be modified is here (?):
CCL/pyccl/ccl_sigM.i
Line 22 in 29d4697
The text was updated successfully, but these errors were encountered: