Skip to content

Implementation of corrections for projection effects#87

Closed
inonchiu wants to merge 12 commits into
LSSTDESC:mainfrom
inonchiu:prj
Closed

Implementation of corrections for projection effects#87
inonchiu wants to merge 12 commits into
LSSTDESC:mainfrom
inonchiu:prj

Conversation

@inonchiu

Copy link
Copy Markdown
Collaborator

This PR adds support for projection effects in CROW, including a Costanzi-style projected richness model and an optional projection-induced lensing profile correction for stacked DeltaSigma predictions.

Main Changes:

  • Added a new crow.cluster_modules.projection_effects module.
  • Implemented CostanziBaseModel, CostanziBinned, and CostanziUnBinned for projected observed-richness probabilities.
  • Added CostanziLensingBias / bsel for multiplicative selection-bias corrections to stacked DeltaSigma profiles.
  • Extended binned recipes to optionally apply lensing profile corrections after stack integration.
  • Added projection-effect grid construction and caching to GridBinnedClusterRecipe.
  • Added a projection tutorial notebook: notebooks/run_projection.ipynb.
  • Added and expanded tests for projection probabilities, projected counts, grid caching, and DeltaSigma correction behavior.

Implementation Notes:

  • The richness projection model follows the Costanzi projection-effect formalism.
  • The lensing profile correction is explicitly restricted to DeltaSigma predictions and raises an error for reduced shear.
  • Radius conversion for the lensing correction is explicit: either comoving Mpc/h input or physical Mpc converted using reference redshift and h.

yuriuno and others added 12 commits May 22, 2026 19:15
Add Costanzi19 projection model and binned_grid skeleton
…py. Add function comments. Clean the code by isort and black
Implement Costanzi binned and unbinned projection-effect probability calculations for Gaussian richness-mass relations. Add recipe support for projection-effect grid construction and cache handling.

Update tests for binned probabilities, unbinned PDFs, mass-redshift meshing, and projection recipe grid construction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants