Description
For cluster predictions, the excess surface density ΔΣ is a weak-lensing quantity that depends on cosmology because it is measured using distances, while the tangential shear γₜ is cosmology-independent as it is measured in angles. The relevant equations are in arXiv:2107.10857.
Problem: we need to implement tangential shear (γₜ) support in Firecrown, TXPipe, and SACC. This issue focuses on the modeling / Firecrown + SACC side; the TXPipe data-vector change should be tracked in a separate issue (see related TXPipe issue: #12 ).
Current Firecrown prediction code for ΔΣ lives here:
firecrown/models/cluster/deltasigma.py and is used by the cluster likelihoods. We need the prediction routine to optionally produce γₜ (cosmology-independent) instead of ΔΣ (cosmology-dependent), and ensure SACC can store / represent the chosen data vector correctly.
Steps to Reproduce / Inspect
- Inspect current prediction implementation:
https://github.com/LSSTDESC/firecrown/blob/master/firecrown/models/cluster/deltasigma.py
- Inspect cluster likelihoods that consume those predictions:
firecrown/likelihood/binned_cluster_number_counts_deltasigma.py
firecrown/likelihood/binned_cluster_number_counts.py
- Review the theory relating ΔΣ and γₜ (see section/equations in arXiv:2107.10857).
What Needs to Be Done
Extra Note (not the main focus)
The TXPipe data-vector change is a separate task (see #12 ). This Firecrown/SACC issue should not attempt to change TXPipe internals here, but must remain compatible with the TXPipe-side decision.
Type of change
- New feature (adds option to output tangential shear γₜ)
- Refactoring (prediction object/design & SACC serialization)
Description
For cluster predictions, the excess surface density ΔΣ is a weak-lensing quantity that depends on cosmology because it is measured using distances, while the tangential shear γₜ is cosmology-independent as it is measured in angles. The relevant equations are in arXiv:2107.10857.
Problem: we need to implement tangential shear (γₜ) support in Firecrown, TXPipe, and SACC. This issue focuses on the modeling / Firecrown + SACC side; the TXPipe data-vector change should be tracked in a separate issue (see related TXPipe issue: #12 ).
Current Firecrown prediction code for ΔΣ lives here:
firecrown/models/cluster/deltasigma.pyand is used by the cluster likelihoods. We need the prediction routine to optionally produce γₜ (cosmology-independent) instead of ΔΣ (cosmology-dependent), and ensure SACC can store / represent the chosen data vector correctly.Steps to Reproduce / Inspect
https://github.com/LSSTDESC/firecrown/blob/master/firecrown/models/cluster/deltasigma.pyfirecrown/likelihood/binned_cluster_number_counts_deltasigma.pyfirecrown/likelihood/binned_cluster_number_counts.pyWhat Needs to Be Done
cluster_shearordeltasigma_or_shear) or extend the existing ΔΣ object to optionally return γₜ.output: "deltasigma" | "shear") so users can choose at runtime.Extra Note (not the main focus)
The TXPipe data-vector change is a separate task (see #12 ). This Firecrown/SACC issue should not attempt to change TXPipe internals here, but must remain compatible with the TXPipe-side decision.
Type of change