CosmicJellyFish
Zenodo (CERN European Organization for Nuclear Research)
Abstract
What's new Added 🎉 Hu-Sawicki f(R) with hi_class-based codes (frahi_class): the CLASS wrapper is configurable through the class_module and class_object options (default classy. Class), log10fR0 is translated to parameters_smg for cosmo_model='HuSawicki', and CLASS profiles frahiclass_hs_photo*.yaml are added. Nonlinear f(R) boosts winther2019 and emantis (cosmology/modified_gravity.py): the f(R) code gives the linear spectra and A_s, and the nonlinear spectrum is a LCDM CLASS spectrum with the same A_s times the boost, reproducing the MontePython likelihood euclid_photometric_z_fofr (Sefa76/photometric_fofR); the Winther et al. 2019 fitting formula is a verbatim copy of its MGfit_Winther.py. Documentation page modified_gravity_fR on Hu-Sawicki f(R) forecasts: options, profiles, nonlinear boosts and the frahi_class flags they use. GCspxIM observable for the galaxy x intensity-mapping cross-spectrum. Listing all three of GCsp, GCspxIM and IM (or GCspxIM with the option spectro_joint=True) runs a joint auto + cross analysis per redshift bin with the full 2x2 Gaussian covariance of the two fields, so the three spectra no longer have to be added by hand (new module cosmicjellyfish.LSSsurvey.spectro_modes, setting spectro_mode). The joint analysis uses the standard finite-difference derivatives and the overlapping redshift bins. Updated DESI specifications DESI-BGS-Validation2023, DESI-LRG-Validation2023, DESI-ELG-Validation2023 and DESI-QSO-Validation2023 (new LRG and quasar samples) from Table 7 and the bias recipe b = A/D(z) of DESI Collaboration, arXiv:2306.06307, also implemented in GoFish (https://github.com/ladosamushia/GoFish). The legacy DESI-BGS-SKAOPaper and DESI-ELG-SKAOPaper files are unchanged. They are generated by scripts/validation/generate_desi_validation_specs.py, available as desi2023-* cases in scripts/validation/run_survey_forecasts.py, plotted in plot_survey_validation.py, and compared species by species against the legacy files and Euclid in notebook 09 and the survey validation docs page. skao-im-desi-joint case in scripts/validation/run_survey_forecasts.py and new tests in tests/spectro_modes_test.py. Survey validation roadmap docs/SURVEY_VALIDATION_ROADMAP.md for the non-Euclid configurations (DESI, Rubin/LSST, SKAO and Planck), including the provenance map that traces each historical input to the current specification schema. Historical -SKAOPaper survey specifications transcribed from the SKAO forecast project of Casas et al. (2023): DESI-BGS-SKAOPaper, DESI-ELG-SKAOPaper, Rubin-Photometric-SKAOPaper, SKAO-Photometric-SKAOPaper, SKAO-Spectroscopic-SKAOPaper and SKAO-IM-Redbook-DESI-ELG. They are opt-in files under other_survey_specifications/ and do not change any existing default. Survey observable validation harness: scripts/validation/survey_observable_reference.py (independent transcription of the historical galaxy-clustering, intensity-mapping and photometric recipes) and scripts/validation/validate_survey_observables.py, which compares the package against it for every migrated configuration and writes a JSON report plus the SKAO Fig. 1 diagnostic. Results are recorded in docs/SURVEY_VALIDATION_ROADMAP.md. Fast guard tests tests/survey_observables_validation_test.py for the reference formulas and the historical Fig. 1 table. Survey forecast comparison harness scripts/validation/run_survey_forecasts.py, which runs Euclid, Rubin/LSST, DESI, SKAO (photometric, HI galaxies, intensity mapping and the IM x DESI-ELG cross-spectrum) and a Planck-like CMB forecast on a common GR fiducial in both LCDM and w0waCDM, reports marginalised errors and dark-energy figures of merit, and writes Markdown/JSON summaries. Results are recorded in docs/SURVEY_VALIDATION_ROADMAP.md. scripts/validation/plot_survey_validation.py and the resulting figures (survey inputs, marginalised-error panels, paired w0-wa Fisher ellipses and the SKAO Fig. 1 diagnostic), plus the documentation page docs/source/survey_validation.md and the executed tutorial notebooks/09-Survey-validation.ipynb. Changed ⚠️ The observables ["GCsp", "IM"] used to select the cross-spectrum only. They keep doing so, now with a FutureWarning; use ["GCspxIM"] instead. The survey scripts use the new name. Fig. 4 of the paper compares Euclid and Rubin/LSST photometry with Euclid GCsp, DESI ELG+BGS and SKAO IM + DESI ELG (auto + cross) in separate photometric and spectroscopic w0-wa panels with explicit axis limits. The survey forecast harness uses a relative finite-difference step of 0.002 for the galaxy-clustering and intensity-mapping probes. At the previous 0.01 their sigma8 errors were under-converged by 20-38%; the photometric probes are unchanged. Fixed ✅ The reference LCDM spectrum used by the f(R) boosts keeps the shared inputs of the resolved f(R) run, including parameters set only in the HuSawicki CLASS section (for example T_cmb); gravity-specific flags and the scalar-field closure are still excluded. The e-MANTIS boost clips to the overlap of the likelihood and emulator ranges, avoiding an out-of-range error near the lower LCDM sigma8 bound. Review fixes for the cross-spectrum and joint spectroscopic analyses: Fisher output files carry the spectrum mode (..._GCspIMGCspxIM_Ig_FM.txt and..._joint_FM.txt), because a cross-only and a joint forecast resolve to the same observables and used to overwrite each other. Auto-spectrum and photometric file names are unchanged. load_fisher_from_json replays a cross-only snapshot as cross-only instead of re-resolving its observables as a joint analysis. When the galaxy and intensity-mapping grids differ in extent, every shared bin now takes its volume and galaxy density from its own redshift interval (identical grids are unchanged). Bins that share a midpoint but not their edges are rejected with a clear error, where they used to run with the volume of a different interval. Selecting sp_bias_model: linear_log defaults the bias root to lnb. An explicitly incompatible sp_bias_root raises a clear ValueError before the forecast. The validation scripts reject non-finite per-bin differences instead of recording them as agreement, accept array-valued velocity dispersions, and label the temperature units of the plotted spectra and of the normalised 21 cm noise. The Fisher ellipses of the survey figures use the 68.27% and 95.45% joint levels of fishconsumer. The docs and docs/KNOWN_ISSUES.md state that DESI and Rubin without an explicit specification silently load the Euclid default, and the roadmap no longer presents the cause of the SKAO Fig. 1 amplitude offset or a cross-backend agreement as established. Survey validation review follow-ups: combinations sum the full nuisance-marginalised Fisher blocks (and the harness now refuses to combine a report that lacks them, keeping the summed block for reuse), the IM volume uses fsky_IM and the cross-spectrum marks its nested-footprint default (optional fsky_cross override), the paper ellipses are centred on (w0, wa) = (-1, 0), the fixed mnu = 0.06 eV is explicit, and the validation claims were narrowed to what is actually checked. The cross-spectrum covariance test now exercises veff_Ig, and the w0-wa figure is regrouped into four paired panels without the much weaker Planck-like run, with missing inputs raising instead of being silently skipped. Example notebooks 04, 05 and 06 now run top to bottom (reported by Kazuya): notebook 04 defines the Planck parameter list and skips the covariance comparison when its Part-2 inputs are missing, 05 combines Fishers with matching fiducials instead of failing on the Planck-like ones produced by 03, 06 passes the Fisher result (not the FisherMatrix object) to the nuisance prior helper and writes a commented chain header, and 03 writes one Fisher file per survey. The kernel metadata of 04 and 07 is the generic python3. Notebook 04 also selects a single producing package version instead of the lexicographically last Fisher file, and checks the exact Planck .covmat and .likestats files before running its optional diagnostics. fisher_operations.information_gain no longer fails: it built an all-zero Fisher matrix, which the fisher_matrix constructor reduces to zero parameters. The prior argument is now optional, and a prior may supply a parameter that is absent from the second Fisher matrix: the statistical term zero-pads it instead of asking reshuffle for a parameter that is not there. scripts/planck/run_planck_diagnostics_suite.sh builds its Fisher filenames from the package VERSION instead of the hard-coded v1.3.0; the combine step previously read names the producers no longer write and stopped before creating the combined Fisher. Commits 46a591d Prepare changelog for v2.1.0 0e468f0 Update README.md badges and examples and links 8c22788 Merge pull request #265 from santiagocasas/fr_emulators fc87b07 Merge pull request #278 from santiagocasas/dependabot/pip/setuptools-lt-85 737162c Merge pull request #276 from santiagocasas/dependabot/pip/pyyaml-6.0.4 7027129 Merge pull request #279 from santiagocasas/dependabot/pip/py-spy-0.4.4 d5033c1 Merge pull request #253 from santiagocasas/feature/survey-validation dd632a9 Add CodeRabbit review configuration (Balanced profile) 1ade26c Merge pull request #255 from santiagocasas/fix/notebooks-04-05-06 cde735b Merge pull request #254 from santiagocasas/dependabot/pip/isort-gte-5.12-and-lt-9.1 0b540ef README: dynamic all-contributors badge and CRediT badge 26857c5 Merge pull request #272 from santiagocasas/all-contributors/add-scamera 1f7a0c6 Merge pull request #240 from santiagocasas/dependabot/pip/mypy-gte-2.4.1-and-lt-2.5 731987e Merge pull request #238 from santiagocasas/dependabot/pip/pydata-sphinx-theme-gte-0.19.0 ed681f2 Merge pull request #239 from santiagocasas/dependabot/pip/line-profiler-5.1.0 2b640f6 Merge pull request #274 from santiagocasas/all-contributors/add-emiliobellini 5568668 AGENTS.md: require the ARA epilogue
Authors 6
-
Santiago Casas Aachen
Affiliation as printed
RWTH Aachen University, DLR
-
Affiliation as printed
Universidad de Cantabria
-
University of Naples Federico II
Affiliation as printed
Università degli Studi di Napoli "Federico II"
-
Affiliation as printed
Università degli Studi di Torino