genesisfieldmcmc
Ripple-modulated cosmological inference engine for Paper I (Hubble ripple model)
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 17 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.6%) to scientific vocabulary
Repository
Ripple-modulated cosmological inference engine for Paper I (Hubble ripple model)
Basic Info
- Host: GitHub
- Owner: genesisfield
- License: mit
- Language: Python
- Default Branch: main
- Size: 16.9 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 3
Metadata Files
README.md
📌 NOTE TO REVIEWERS
This repository contains the official GENESISFIELDMCMC v1.1.4 release, under simultaneous review at: - 📝 Classical and Quantum Gravity (CQG) — Theory + Results Paper - 🧪 Journal of Open Source Software (JOSS) — Software Pipeline Submission
🔗 All figures, tables, and statistical results in the CQG paper are generated from this codebase.
🔁 All JOSS functionality and documentation reflects this version.
📄 Final CQG Submission PDF: 📥 DownloadGenesis_Field_CQG_Submission_July23.pdf📝 Research Notes of the AAS (RNAAS) — Empirical Suppression Result (submitted July 28, 2025) 📎 Zenodo DOI: 10.5281/zenodo.16251890
🏷️ Version:GENESISFIELDMCMC v1.1.4(Released July 21, 2025)
GENESISFIELDMCMC: Ripple-Modulated Cosmological Inference in the Genesis Field Framework
GENESISFIELDMCMC is a full-sequence cosmological inference pipeline for ripple-modulated expansion models derived from the Genesis Field framework. The ripple model arises from vacuum coherence decay described by a generalized Gross–Pitaevskii equation. In its constrained limit, the model reduces exactly to ΛCDM. This repository implements and tests the model using Pantheon+SH0ES supernova data and cosmic chronometer H(z) measurements.
The pipeline is falsifiable, empirical, and fully reproducible. All stages pass outputs (M values, JSON summaries, residuals) forward. Deduplication and fixed seeds ensure reproducibility.
🗂 outputs/
joint_model_comparison_summary.jsonjoint_corner.pngjoint_lcdm_grid_fit_summary.jsonjoint_lcdm_grid_fit_chi2.png
These are the canonical output files referenced in the RNAAS notes and the CQG manuscript for reviwer convenience. All values and figures can be regenerated using the provided pipeline and configuration files.
Note: Raw
.npychain files and.logoutputs are not included in this repository, but are automatically generated when the pipeline is run locally. See the Usage Instructions for details.
Quickstart: To run the full pipeline in one step:
python run_pipeline.py
This will: - Calibrate absolute magnitude M - Run ΛCDM baseline fits for SN, H(z), and joint - Fit ripple models to each dataset and combined - Generate posterior plots, residuals, comparisons - Save everything to the outputs/ folder
Step-by-step usage:
Step 1 — Calibrate and Lock M
Run: python examples/calibrateandlockM.py
Computes analytic M from Pantheon+SH0ES and applies post-fit residual correction. Produces Mvalues.txt and residuals.png.
Step 2 — Sanity Tests
Run: python tests/testmu0model.py and python tests/testdlripple.py
Confirms μ(z) and d_L(z) accuracy around z ≈ 0.1.
Step 3 — SN ΛCDM Grid Fit Relaxed
Run: python examples/fitsnlcdmgrid.py
Fits flat ΛCDM to SN data. Outputs include snlcdmgridfitchi2.png and snlcdmgridfit_summary.json.
Step 4 — H(z) ΛCDM Grid Fit Relaxed
Run: python examples/fithzlcdmgridrelaxed.py
Fits flat ΛCDM to H(z) using a grid scan of H₀. Produces hzlcdmgridrelaxedfit_chi2.png and summary.
Step 5 — H(z) ΛCDM Grid Fit Tight
Run: python examples/fithzlcdmgridtight.py
Fits flat ΛCDM to H(z) using a grid scan of H₀. Produces hzlcdmgridtightfit_chi2.png and summary.
Step 6 — Joint ΛCDM Grid Fit
Run: python examples/fitjointlcdmgrid.py
Performs ΛCDM fit on SN + H(z) combined. Outputs jointlcdmgridfitchi2.png and jointlcdmgridfit_summary.json for model comparison.
Step 7 — SN Ripple Fit
Run: python examples/runfitpantheon.py
Fits ripple model to Pantheon+SH0ES. Produces sncornermcmc_pantheon.png, posteriors, residuals, and summary.
Step 8 — H(z) Ripple Fit (Tight)
Run: python examples/runfithz_tight.py
Tests SN-calibrated ripple parameters on H(z) data.
Step 9 — H(z) Ripple Fit (Relaxed)
Run: python examples/runfithzrelaxed.py
Fully free ripple fit on H(z). Outputs hzcorner_relaxed.png and model comparison stats.
Step 10 — Joint Ripple Fit
Run: python examples/runfitjoint.py
Final ripple fit across SN + H(z). Produces jointcorner.png and jointmodelcomparisonsummary.json.
Step 11 — Ripple vs ΛCDM Parameter Comparison
Run: python examples/plotrippleparameter_comparison.py
Visualizes ripple and ΛCDM posterior differences across SN, H(z), and joint fits.
Step 12 — Two-Parameter Ripple vs ΛCDM
Run: python examples/ripplevslcdm2param.py
Compares ripple vs ΛCDM in ε–ω space. Produces ripplevslcdm2paramhero.png and ripplevslcdm2param_summary.json.
Step 13 — Sweep Parameter Space (Post-Fit Exploration)
Run: python examples/sweepfqmtparameters.py
Sweeps ripple parameters ε, ω, γ, and φ over physical ranges. Produces heatmaps and chi² diagnostics to visualize ripple structure.
Ripple Model:
H(z) = H₀ × [1 + ε cos(ω ln(1+z) + φ) × exp(−γ ln(1+z))]
where ε = amplitude, ω = frequency, φ = phase offset, γ = damping, and H₀ = Hubble constant
Directory Overview:
examples/ — Pipeline scripts
mcalib_ripple/ — M-calibration logic
fqmtmcmc/ — Ripple models and MCMC engines
data/ — Pantheon+SH0ES SN and H(z) inputs
tests/ — Sanity tests for distance and μ(z)
outputs/ — All generated posteriors, plots, and JSONs
Outputs: All results are saved in outputs/. Key files include:
Calibration:
- M_values.txt
- residuals.png
Posteriors & Chains:
- snchainmcmcpantheon.npy
- hzchainmcmctight.npy / relaxed.npy
- jointchainmcmc.npy
- *logprob_mcmc.npy
Corner Plots:
- sncornermcmcpantheon.png
- hzcornertight.png / relaxed.png
- jointcorner.png
Residuals & Comparisons:
- snresidualspantheon.png
- ripplevslcdm2param.png
- ripplevslcdmhz2paramhero.png
- rippleparamcomparisonbarplot.png
- sweepepsilongridheatmap.png
Model Summaries:
- snmcmcpantheonsummary.json
- hzmodelcomparisontight.json / relaxed.json
- jointmodelcomparisonsummary.json
- ripplevslcdm2param_summary.json
ΛCDM Grids:
- snlcdmgridfitchi2.png / summary.json
- hzlcdmgridrelaxedfitchi2.png / summary.json
- hzlcdmgridtightfitchi2.png / summary.json
- jointlcdmgridfitchi2.png / summary.json
Install:
git clone https://github.com/genesisfield/genesisfieldmcmc.git
cd genesisfieldmcmc
pip install -r requirements.txt
Run tests: python -m unittest discover tests
Citation:
@software{genesisfield2025mcmc,
author = {Greene, Richard},
title = {GENESISFIELDMCMC: Ripple-Modulated Cosmological Inference},
year = {2025},
doi = {10.5281/zenodo.15825901},
url = {https://github.com/genesisfield/genesisfieldmcmc}}
@article{genesisfield2025theory,
author = {Greene, Richard},
title = {Quantum Coherence and Ripple Structure in the Genesis Field},
journal = {Classical and Quantum Gravity (submitted)},
year = {2025}}
References:
[1] Brout et al. (2022), Pantheon+ SN Compilation: https://doi.org/10.3847/1538-4357/ac8e04
[2] Riess et al. (2021), SH0ES Local H₀ Measurement: https://doi.org/10.3847/2041-8213/ac5c5b
[3] Ringermacher & Mead (2015), Cosmic Oscillation Evidence: https://doi.org/10.1063/1.4907966
[4] Zhao et al. (2012), Oscillating Expansion Models: https://doi.org/10.1088/1475-7516/2012/10/016
[5] Hu (2000), Generalized Dark Energy Framework: https://doi.org/10.1103/PhysRevD.62.043007
Acknowledgements: Built on the Pantheon+SH0ES SN dataset, cosmic chronometer H(z) observations, and open-source scientific tools: numpy, scipy, matplotlib, pandas, astropy, emcee, corner. The ripple intuition is informed by decades of theoretical and observational work on oscillating cosmology, vacuum coherence, and time-domain structure in expansion history.
This pipeline doesn't assume ripples. It lets the data decide. If they exist, this model reveals them. If not, it returns ΛCDM exactly.
Owner
- Name: genesisfield
- Login: genesisfield
- Kind: organization
- Repositories: 1
- Profile: https://github.com/genesisfield
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use GENESISFIELDMCMC, please cite it as below."
title: "GENESISFIELDMCMC: A Full Inference Pipeline for Ripple-Modulated Cosmologies Using Supernova and H(z) Data"
authors:
- family-names: Greene
given-names: Richard
affiliation: "Genesis Field Institute, Chandler, AZ, USA"
date-released: "2025-07-17"
version: "1.1.4"
doi: "10.5281/zenodo.15825900"
url: "https://github.com/genesisfield/genesisfieldmcmc"
license: "MIT"
keywords:
- cosmology
- ripple model
- ΛCDM
- Pantheon+
- supernovae
- Hubble tension
- MCMC
- inference pipeline
references:
- type: article
authors:
- family-names: Brout
given-names: D.
- family-names: Scolnic
given-names: D.
year: 2022
title: "Cosmology with the Pantheon+ Type Ia Supernova Sample"
journal: "The Astrophysical Journal"
volume: 938
page: 110
doi: "10.3847/1538-4357/ac8e04"
- type: article
authors:
- family-names: Riess
given-names: A. G.
year: 2021
title: "A Comprehensive Measurement of the Local Value of the Hubble Constant"
journal: "The Astrophysical Journal Letters"
volume: 934
page: L7
doi: "10.3847/2041-8213/ac5c5b"
- type: article
authors:
- family-names: Foreman-Mackey
given-names: D.
year: 2013
title: "emcee: The MCMC Hammer"
journal: "Publications of the Astronomical Society of the Pacific"
volume: 125
page: 306
doi: "10.1086/670067"
- type: article
authors:
- family-names: Ringermacher
given-names: H. I.
- family-names: Mead
given-names: L. R.
year: 2015
title: "Observation of discrete oscillations in a model-independent plot of cosmological scale factor vs. lookback time and scalar field model"
journal: "Astronomical Journal"
volume: 149
page: 137
doi: "10.1088/0004-6256/149/4/137"
- type: article
authors:
- family-names: Zhao
given-names: G.-B.
year: 2012
title: "Probing modifications of General Relativity using current cosmological observations"
journal: "Journal of Cosmology and Astroparticle Physics"
volume: 2012
issue: 10
page: 016
doi: "10.1088/1475-7516/2012/10/016"
- type: article
authors:
- family-names: Hu
given-names: W.
year: 2000
title: "Structure formation with generalized dark matter"
journal: "Physical Review D"
volume: 62
issue: 4
page: 043007
doi: "10.1103/PhysRevD.62.043007"
GitHub Events
Total
- Release event: 2
- Delete event: 1
- Push event: 10
- Create event: 2
Last Year
- Release event: 2
- Delete event: 1
- Push event: 10
- Create event: 2
Dependencies
- corner >=2.1
- emcee >=3.1
- matplotlib >=3.3
- numpy >=1.20
- pandas >=1.2
- scipy >=1.6
- tqdm >=4.60