Skip to content

s33ker35/multiverse-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Multiverse Simulation Framework

A reproducible Python framework that uses real cosmological data — Planck 2018 parameters and SDSS DR16 galaxy counts — to evaluate how a family of hypothetical universes match observed large-scale structure.

Why it exists

The "multiverse" hypothesis predicts we live in one of many universes with varying cosmological parameters. This script makes that claim testable at a simple level: given the observed galaxy distribution from SDSS, where does our Planck cosmology sit in an ensemble of 2000 randomly sampled alternative cosmologies?

What it does

  1. Loads Planck 2018 cosmological parameters via astropy
  2. Downloads (or loads cached) a galaxy redshift sample from SDSS DR16 via the SkyServer SQL API
  3. For each of N alternative cosmologies (sampling H₀ and Ω_m from priors), predicts a redshift histogram and computes χ² against SDSS
  4. Reports the percentile rank of the observed Planck cosmology in the ensemble

Requirements

pip install numpy scipy pandas astropy requests tqdm

Usage

# Download SDSS sample and run 2000 universe ensemble
python multiverse_sim.py --download --n-samples 2000

# Use cached SDSS data
python multiverse_sim.py --n-samples 500

Notes

This is an intentionally minimal, interpretable framework — not a full cosmological inference engine. Real multiverse tests require galaxy formation modelling, selection functions, CMB power spectra, and anthropic selection effects. This is a transparent experiment scaffold.

License

MIT © 2026 s33ker35

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages