How aristeidispatselis/trainee_ship-cosmology works
The repository contains two cosmology-fitting approaches: independent Code_0 research scripts and the more extensible Code_1 fitting framework. The user workflow is to choose a model and observational data, fit cosmological parameters, then inspect statistics and plots. Code_0 spans LCDM, modified-gravity, and Horndeski fits plus comparison analyses; Code_1 separates configuration, data loading, models, inference, and plotting. Several Code_0 branches and Code_1 modules are represented at their tree paths because their implementation was not sampled; relationships are shown only where the README or source index supports them.
Main entry points: manager.py Configuration · base.py Model Base · contours.py Contour Plots · optimizer.py Optimizer
Components 21
Independent Code_0 Fits
- LCDM Fits
Codes_0/model_lcdm - Delta Fits
Codes_0/model_delta - H-dot Fits
Codes_0/model_a - Horndeski Fits
Codes_0/Horndeski - Omega Fits
Codes_0/other/model_omega_delta - Model Comparisons
Codes_0/comparison
Code_1 Framework
- Configuration
Codes_1/cosmo_fitter/config/manager.py - Dataset Loader
Codes_1/cosmo_fitter/data/loader.py
Cosmology Models
- Model Base
Codes_1/cosmo_fitter/models/base.py - LCDM Model
Codes_1/cosmo_fitter/models/lcdm.py - Delta Model
Codes_1/cosmo_fitter/models/delta.py - H-dot Model
Codes_1/cosmo_fitter/models/hdot.py - Model Registry
Codes_1/cosmo_fitter/models/registry.py
Inference And Results
- Optimizer
Codes_1/cosmo_fitter/inference/optimizer.py - MCMC Sampler
Codes_1/cosmo_fitter/inference/mcmc.py - Fit Statistics
Codes_1/cosmo_fitter/inference/stats.py - Plot Utilities
Codes_1/cosmo_fitter/plotting/base.py - Contour Plots
Codes_1/cosmo_fitter/plotting/contours.py - Hubble Plots
Codes_1/cosmo_fitter/plotting/hubble.py
Other components
- Researcher
- Data_Sets
Connections 20
- Researcher → LCDM Fits: runs fits
- Researcher → Delta Fits: runs fits
- Researcher → H-dot Fits: runs fits
- Researcher → Horndeski Fits: runs fits
- Researcher → Omega Fits: runs fits
- Researcher → Model Comparisons: compares fits
- Data_Sets → LCDM Fits: supplies data
- Data_Sets → Delta Fits: supplies data
- Data_Sets → H-dot Fits: supplies data
- Data_Sets → Horndeski Fits: supplies data
- Data_Sets → Omega Fits: supplies data
- Dataset Loader → Configuration: reads settings
Codes_1/cosmo_fitter/data/loader.py - Model Base → Configuration: reads settings
Codes_1/cosmo_fitter/models/base.py - Optimizer → Model Base: evaluates model
Codes_1/cosmo_fitter/inference/optimizer.py - Optimizer → Configuration: reads settings
Codes_1/cosmo_fitter/inference/optimizer.py - MCMC Sampler → Model Base: evaluates model
Codes_1/cosmo_fitter/inference/mcmc.py - MCMC Sampler → Configuration: reads settings
Codes_1/cosmo_fitter/inference/mcmc.py - Contour Plots → Model Base: evaluates model
Codes_1/cosmo_fitter/plotting/contours.py - Contour Plots → Plot Utilities: uses plot helpers
Codes_1/cosmo_fitter/plotting/contours.py - Contour Plots → Configuration: reads settings
Codes_1/cosmo_fitter/plotting/contours.py