Closed furcelay closed 1 month ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.71%. Comparing base (
ec51662
) to head (1d9f5a7
). Report is 52 commits behind head on main.
Thank you @nkhadka21 and @sibirrer for your review! It should be ready to merge now.
Thank you @nkhadka21 and @sibirrer for your review! It should be ready to merge now.
Thank you very much @furcelay ! I merged it.
Implements a new class
ClusterCatalogLens
that stores a catalog of lenses based on a group or cluster catalog. This requires two astropy tables: one for the cluster properties, and one for the members, along with a list of galaxies from the SkyPy pipeline.This class assigns a NFW halo to each cluster based on the richness, and a EPL subhalo to each cluster member by choosing a SkyPy galaxy with similar magnitudes and redshift.
I've also updated the
cluster_lens.ipynb
notebook to include an example of usage.