Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
27f24af
(ruff) Commit modifications by the ruff pre-commit
Jul 1, 2026
f8fb92f
(Test) Add test data for the test run of the GLASS sims. Runs end to …
Jul 1, 2026
2b94f40
(feature) Add an option to run the shell cl with limber approximation
Jul 1, 2026
50de95a
(ruff) Commit ruff changes
Jul 1, 2026
49f4cce
Update the installation of glass to the most recent version
Jul 1, 2026
b9e9722
Add the possibility to input a list of bias, shape noise, and number …
Jul 1, 2026
3d91e1e
Add functions to perform a rapid validation of shape noise and number…
Jul 2, 2026
7dd5a86
Fix bugs in the CAMB angular power spectra estimation in
Jul 2, 2026
90c3bda
Add functions from namaster_util to prepare the upgrade to tomography…
Jul 2, 2026
875f65d
Add tomography pseudo-cl DV measurement.
Jul 3, 2026
57980dd
Fix bugs and tests to the new API to pass the CI
Jul 3, 2026
a941f54
Account for Martin's comment. Merged non-tomo and tomo functions into…
Jul 3, 2026
a1d28a4
Account for Fable review
Jul 6, 2026
2b84eb6
(fix) KeyError for the unspecified tomo_bin_col
Jul 6, 2026
753abc1
Upgrade the iNKA covariance estimation to tomography
Jul 6, 2026
ac31d60
(ruff) Fix bugs flagged by Ruff at the previous commit step
Jul 6, 2026
12842c8
(fix) Implement the bug fix detected by Copilot
Jul 6, 2026
0f6daa3
(fix) GLASS mock allowing negative right ascension conflicting with N…
Jul 6, 2026
38289f0
Finalise the loop to compute iNKA pseudo-cl covariance. Add GLASS moc…
Jul 8, 2026
81a010a
Clean bugs and add function to plot nicely the pseudo-cl.
Jul 9, 2026
6736e02
Merge pull request #237 from CosmoStat/develop
sachaguer Jul 9, 2026
e7d241a
Merge branch 'feature/tomo-pseudo-cl' into feature/sp_validation-exte…
sachaguer Jul 9, 2026
ab93109
Update the import in core comos_val of cs_util get_cosmo function.
Jul 9, 2026
9be64ac
Merge pull request #238 from CosmoStat/feature/sp_validation-extend-t…
sachaguer Jul 9, 2026
f499ac8
Revert "Tomographic pseudo-cl"
sachaguer Jul 9, 2026
d917c65
Merge pull request #239 from CosmoStat/revert-221-feature/tomo-pseudo-cl
sachaguer Jul 9, 2026
6eabbc6
Add unit tests for the tomographic pseudo cls
Jul 16, 2026
dee0141
Fix non-tomo branch bug in the _merge_iNKA_covariance_function
Jul 17, 2026
21863bc
Fix small bugs identified by Fable
Jul 17, 2026
8996879
Update the cl tests accounting for Fable comments
Jul 17, 2026
d5a7b59
Merge conflicts
Jul 17, 2026
9c948cd
Reapply "Tomographic pseudo-cl"
Jul 17, 2026
3146790
Fix Ruff errors
Jul 17, 2026
7eca12e
Add get_cosmo import in core CosmoValidation that disappeared in the …
Jul 17, 2026
42b2746
Merge pull request #240 from CosmoStat/feature/tomo-pseudo-cl
sachaguer Jul 17, 2026
65648ea
Merge branch 'feature/sp_validation-extend-to-tomography' into featur…
sachaguer Jul 17, 2026
335961e
add a script to run gaussian simulations for covariance estimation
Jul 17, 2026
07a1dcb
Add docstring
Jul 17, 2026
9a940d4
Fix multiple bugs in the script.
Jul 20, 2026
fb40fa7
Fix bug related to noise bias decoupling
Jul 20, 2026
6ec19cf
Fix typo in the value of
Jul 20, 2026
59d6098
Add print of the decoupling of the noise bias
Jul 21, 2026
39bc6db
Fix bugs in the non-tomographic branch
Jul 21, 2026
8943571
Align namaster and fiducial binning for the covariance
Jul 21, 2026
45e938d
Add options to save EB and BB covariances from Gaussian simulations
Jul 21, 2026
acb7798
Fix the small things from Claude
Jul 21, 2026
618bddd
Add seed to the gaussian simulations run script
Jul 21, 2026
f8d814c
Merge pull request #291 from CosmoStat/bug/inka_covariance
sachaguer Jul 21, 2026
496d181
Merge pull request #286 from CosmoStat/feature/cl-gaussian-sims
sachaguer Jul 21, 2026
1a430e8
Merge pull request #219 from CosmoStat/feature/glass
sachaguer Jul 21, 2026
3862e4d
Start modifying the onecovariance routine to account for tomography
Jul 23, 2026
bbf5215
Fix bugs identified in Claude first review
Jul 24, 2026
c7e3275
Reorganise the functions
Jul 24, 2026
ff3be19
Update the merge of Gaussian and non-Gaussian part of the covariance
Jul 24, 2026
1788693
Update the merge of Gaussian and non-Gaussian part of the covariance
Jul 24, 2026
d1fa65c
Modify the onecov config to match the cosmo object parameters
Jul 24, 2026
4dfa292
Fix KeyErro in iNKA covariance
Jul 24, 2026
615426d
Fix wrong load of COVAR_EE_EE iNKA covariance
Jul 24, 2026
194857e
Fix the update of cosmo params
Jul 24, 2026
9c13693
Fetch the sum of neutrino mass from the cosmo object for OneCovariance
Jul 24, 2026
a8052d8
Handle the redshift distribution in the non-tomographic case
Jul 24, 2026
0d10d54
Update the load onecovariance script to handle tomography
Jul 24, 2026
debf000
Update the tests for the onecovariance merge
Jul 24, 2026
ee75f53
Tomographic rho-/tau-statistics (#295)
sachaguer Jul 24, 2026
18b90db
Tomographic 2pcf calculation with treecorr (#297)
LisaGoh Jul 27, 2026
af262b7
merge develop
LisaGoh Jul 30, 2026
2fc8ee0
Update de scale dependent plotting script to read the computed rho-ta…
Aug 24, 2026
35795ab
Update the plotting script for the scale dependent xi_sys
Aug 25, 2026
ed942aa
Update the pyproject.toml
Aug 25, 2026
7eed696
Fix the pyproject.toml
Aug 25, 2026
744614e
Fix the pyproject.toml
Aug 25, 2026
738768a
Merge pull request #298 from CosmoStat/feature/harmonic-onecovariance…
sachaguer Aug 26, 2026
a66b48b
Update the objectwise leakage to run in the tomographic case.
Aug 26, 2026
2a442e7
Merge remote-tracking branch 'origin/feature/sp_validation-extend-to-…
cailmdaley Oct 2, 2026
4d4ea33
psf_systematics: seeded Monte-Carlo errors for alpha and xi_psf_sys
cailmdaley Oct 2, 2026
76f04a2
psf_systematics: auto-bin xi_psf_sys errors reuse one tau draw
cailmdaley Oct 2, 2026
ed7bfbf
psf_systematics: cross-bin xi_psf_sys errors use each bin's tau variance
cailmdaley Oct 2, 2026
a1a6198
psf_systematics: xi_psf_sys errorbars in the legend's version colour
cailmdaley Oct 2, 2026
0f63bfd
Object-wise leakage plot reads per-bin coefficients; alpha summaries …
cailmdaley Oct 2, 2026
fedde75
Test PSF-leakage helpers and the object-wise plot on synthetic data
cailmdaley Oct 2, 2026
03b37a3
Object-wise leakage: a version dropped for a missing column stays dro…
cailmdaley Oct 2, 2026
5c94bbc
uv.lock: shear_psf_leakage develop@f1a2c071 (object-wise row selectio…
cailmdaley Oct 2, 2026
0d5f2ad
Merge develop into the tomography branch (#374)
cailmdaley Oct 2, 2026
476ae55
Merge pull request #307 from CosmoStat/feature/tomo-objectwise-leakage
cailmdaley Oct 2, 2026
7781c87
Point the non-tomographic workflow at the merged tomographic API
cailmdaley Oct 2, 2026
2ae102a
Read the ("all", "all") pair in the B-mode summary and the SACC n(z)
cailmdaley Oct 2, 2026
613e871
Move the tests onto the merged API and pin the repaired seams
cailmdaley Oct 2, 2026
b9a9e9b
Repair the tomography branch's own callers of reshaped helpers
cailmdaley Oct 2, 2026
8631f60
Merge the tomography branch (#307, tomographic leakage) into the inte…
cailmdaley Oct 2, 2026
45c51e5
Apply pixel windows only to map-based pseudo-Cl spectra
cailmdaley Oct 2, 2026
497d7b8
Pin the OneCovariance fixture to the real table; drop the GLASS xfail
cailmdaley Oct 2, 2026
9010a8c
Keep the GLASS xfail until the re-locked image; cite the OneCovarianc…
cailmdaley Oct 2, 2026
f7f2abb
Name the jackknife rho/tau draws by the id the library writes them under
cailmdaley Oct 2, 2026
d603c5c
Compute the iNKA fiducial C_ell with CCL, from the configured cosmology
cailmdaley Oct 2, 2026
551f5c9
Default the catalogue pseudo-Cl wrapper to the ("all", "all") pair
cailmdaley Oct 2, 2026
465ae28
Let the object-wise leakage reader take a row selection
cailmdaley Oct 2, 2026
e3bd484
Restore Hartlap debiasing of simulation rho/tau covariances
cailmdaley Oct 2, 2026
e6406e4
Seed jackknife patches across tomographic bins
cailmdaley Oct 2, 2026
989e0eb
Expect the rho/tau SACC part under the tomo_bin_all basename in the D…
cailmdaley Oct 2, 2026
88fa858
Route rho/tau workflow paths through cv_basename helpers
cailmdaley Oct 2, 2026
f2275a7
Keep the iNKA fiducial C_ell on CAMB, as the tomography branch comput…
cailmdaley Oct 3, 2026
d6356c9
Tolerate NFS placeholders when the covariance rule clears its work di…
cailmdaley Oct 3, 2026
454e802
plot_tau_stats: use the tau-statistics error bars when no covariance …
cailmdaley Oct 3, 2026
a769e10
Plot tau statistics with the configured tau covariance
cailmdaley Oct 3, 2026
03bd3ad
Keep the joint pure-B Hartlap correction tied to its full data dimension
cailmdaley Oct 5, 2026
c380868
Protect the pinned TreeCorr layout from node CPU-count changes
cailmdaley Oct 5, 2026
5e5a640
Require pure-E/B MC rebinning to use the data pair weights
cailmdaley Oct 5, 2026
d1a1c94
Keep covariance jobs inside the launched checkout and results tree
cailmdaley Oct 5, 2026
bdfed2b
Keep the rho/tau driver on the launched catalogue configuration
cailmdaley Oct 5, 2026
b0a1652
Require both configured HSM flags to exclude failed star fits
cailmdaley Oct 5, 2026
eda87f8
Require PSF fit sample widths to follow the selected covariance
cailmdaley Oct 5, 2026
dd9e467
Check pure-E/B statistics through the bin-keyed result API
cailmdaley Oct 5, 2026
a71e5fa
Honor tomography when plotting and saving each COSEBIs bin pair
cailmdaley Oct 5, 2026
0250493
Transpose the opposite polarization block to preserve joint iNKA cova…
cailmdaley Oct 5, 2026
426b940
Aggregate Gaussian spectra from the requested seed rather than stale …
cailmdaley Oct 5, 2026
c0b2ac4
Track per-bin tau centering as an upstream leakage defect
cailmdaley Oct 5, 2026
114486c
Exercise the active covariance theory and workflow plotting APIs
cailmdaley Oct 5, 2026
a6e0765
Average rho/tau jackknife covariances over seeded independent layouts
cailmdaley Oct 5, 2026
5c25e3e
Restore BE readback for single-field pseudo-Cl auto-spectra
cailmdaley Oct 5, 2026
5d3b5d2
Reject a single COSEBIs covariance for tomographic pairs
cailmdaley Oct 5, 2026
3367b2b
Continue the iNKA noise bias below l_min at the lowest band's value
cailmdaley Oct 5, 2026
7b34411
Give the tomographic COSEBIs regression per-pair jackknife covariances
cailmdaley Oct 5, 2026
2ff1b50
Merge pull request #394 from CosmoStat/merge/develop-into-tomo
cailmdaley Oct 5, 2026
cae96c5
Merge the tomography branch into develop (#375 step 4)
cailmdaley Oct 5, 2026
fee38cc
GLASS suite DAG test: name rho/tau placeholders through cv_basename
cailmdaley Oct 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ cosmo_inference/cosmosis_config/cosmosis_pipeline_glass_mock_0*.ini
cosmo_inference/cosmosis_config/cosmosis_pipeline_glass_mock_v0*.ini
cosmo_inference/cosmosis_config/glass_mocks_v*

config/glass_mock/test_data/results

# Regenerable catalog-paper plots: the paper TeX lives in the separate docs/
# repo, so these are script/notebook outputs, not LaTeX-tracked figures.
papers/catalog/plots/*.pdf
Expand All @@ -195,6 +197,8 @@ papers/cosmo_val/logs/

# Ignore scratch notebooks
scratch/*/*.ipynb
scratch/guerrini/work_notebooks
scratch/guerrini/launch_scripts

# Snakemake run state
.snakemake/
Expand Down
14 changes: 14 additions & 0 deletions config/cosmo_val/cosmo_gaussian_sims.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# --- Cosmological parameters (CAMB) ---
h: 0.6766
Omega_m: 0.30966
Omega_b: 0.04897
ns: 0.9665
sig8: 0.8102
mnu: 0.06
extra_params:
camb:
nonlinear: True
halofit_version: "mead2020_feedback"
HMCode_logT_AGN: 7.8
kmax: 20.0
kmax_extrapolate: 500
41 changes: 41 additions & 0 deletions config/glass_mock/config_glass_mock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Config file to generate a GLASS mock.
# Example config file, uncomment and modify the inplace value if needed.

# To run this configuration run the script `make_glass_sim.py`
# Options:
# -s, --seed: Random seed
# -N, --number: Mock Number for labelling
# -t, --test: Run in test mode
# -cb, --camb: get Camb C_ell
# -c, --config: Path to the configuration file to generate the simulation (Required)

# --- Cosmological parameters (CAMB) ---
#h: 0.6766
#Om: 0.30966
#Ob: 0.04897
#ns: 0.9665
#sigma8: 0.8102
#mnu: 0.06
#log_T_AGN: 7.8
#As_init: 2.1e-9 #seed As before sigma8 rescaling
#kmax: 20.0

# --- Resolution ---
nside: 1024
dx: 120.0
zmax: 3.0

# --- galaxy population (downstream of map generation) ---
nbins: 6
n_arcmin2: [1, 1.02, 1.05, 0.85, 0.9, 1.2]
sigma_e: 0.2684
bias: 1.2
phz_sigma_0: 0.03
#ia_bias: null

# --- Runtime options ---
limber: True
mask_path: /n09data/guerrini/glass_mock_v1.4.6_rerun/mask_nside4096.fits
nz_path: /home/guerrini/sp_validation_cosmostat/config/glass_mock/test_data/redshift_distribution_tomo.txt
output_path: /n09data/guerrini/glass_mock_test/
output_prefix: tomo_test_2
42 changes: 42 additions & 0 deletions config/glass_mock/config_glass_mock_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Config file to generate a GLASS mock.
# Example config file, uncomment and modify the inplace value if needed.

# To run this configuration run the script `make_glass_sim.py`
# Options:
# -s, --seed: Random seed
# -N, --number: Mock Number for labelling
# -t, --test: Run in test mode
# -cb, --camb: get Camb C_ell
# -v, --validation: Run some validation checks
# -c, --config: Path to the configuration file to generate the simulation (Required)

# --- Cosmological parameters (CAMB) ---
#h: 0.7
#Om: 0.30966
#Ob: 0.04897
#ns: 0.9665
#sigma8: 0.8102
#mnu: 0.06
#log_T_AGN: 7.8
#As_init: 2.1e-9 #seed As before sigma8 rescaling
#kmax: 20.0

# --- Resolution ---
nside: 32
dx: 200.0
zmax: 3

# --- galaxy population (downstream of map generation) ---
nbins: 6
n_arcmin2: [4.0, 3.8, 4.2, 3.95, 4.05, 4.0] # number density in arcmin^-2. Input can be a float or a list (a number density for each bin)
sigma_e: 0.2684 # intrinsic ellipticity dispersion. Input can be a float or a list (a shape noise for each bin)
bias: 1.2 # galaxy bias. Input can be a float or a list (a galaxy bias for each bin)
phz_sigma_0: 0.03
#ia_bias: null # Intrinsic alignment amplitude. Warning: this feature has not been robustly tested.

# --- Runtime options ---
limber: True
mask_path: /n09data/guerrini/glass_mock_v1.4.6_rerun/mask_nside4096.fits
nz_path: /home/guerrini/sp_validation_cosmostat/config/glass_mock/test_data/redshift_distribution_tomo.txt
output_path: /n09data/guerrini/glass_mock_test/
output_prefix: unions
Binary file added config/glass_mock/test_data/mask.fits
Binary file not shown.
Loading
Loading