CosmoStat / CosmoStat/cs_util

cosmo: absorb generic theory machinery from sp_validation blinding (CCL ξ± path, CAMB cross-path, σ8/A_s rescale)

Open
#80 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
0
Forks
2
Avg merge
1h 3m
Merged PRs (30d)
7

Description

cs_util.cosmo is the cosmology library for the UNIONS/CosmoStat stack; survey-specific configuration and implementations live in the consuming packages (division settled with Cail: cs_util = generic cosmology machinery; sp_validation etc. = configuration + survey-specific implementations).

The sp_validation blinding work (CosmoStat/sp_validation#252) is accumulating generic theory machinery that belongs here once stable:

  • a CCL-native ξ± path with configurable nonlinear model (HMCode2020 via CAMB, halofit_version token, logT_AGN), two-tracer cross-pairs, NLA IA
  • an independent CAMB P(k) → ccl.Pk2D → CCL projection path (stack cross-validation)
  • the closed-form σ8↔A_s amplitude rescale (A_s = A_s_seed · (σ8_target/σ8_seed)²)

These currently live in sp_validation's blinding namespace with a docstring marking them cs_util-bound. Graduate them here once the blinding PR lands and the interfaces have settled; consumers beyond blinding: image-simulation imprints, inference theory checks.

— Fable on behalf of Cail.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the generic cosmology machinery described in sp_validation's blinding namespace and the dependency on sp_validation#252. Compare the CCL-native ξ± path, CAMB cross-validation path, and σ8↔A_s rescale with the cs_util boundary. Done means the stable generic machinery is moved into cs_util while survey-specific configuration remains in sp_validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.