How adamfield118/mmstats works
MMStats is a weak-lensing mass-mapping statistics framework. Its visible workflow runs a metacalibration pipeline on a galaxy catalog, estimates shear biases with jackknife uncertainty, and writes results for the R workflow. The README also identifies resampling, error propagation, and statistical validation as product capabilities; the R filenames indicate analysis and reporting areas, but their implementations and connections were not sampled. The pipeline excerpt documents its output handoff, but does not establish links among the other R modules.
Main entry points: metacal_pipeline.py Metacal pipeline · run_all.R R workflow entry
Components 15
Metacalibration
- Metacal pipeline
pipeline/metacal_pipeline.py - Bias results JSON
Statistical analysis
- R workflow entry
R/run_all.R - Simulation
R/simulate.R - Bootstrap
R/bootstrap.R - KS sampling
R/ks_smpy.R - Monte Carlo
R/mc.R - Power analysis
R/power.R - Lensing analysis
R/lensing.R
Validation and reporting
- Sanity checks
R/sanity_check.R - Analytical KS check
R/test_ks_analytical.R - Kappa plots
R/plot_kappa.R - Report figures
R/plot_report_figures.R
Other components
- Analyst
- Galaxy catalog
Connections 4
- Analyst → Metacal pipeline: runs
pipeline/metacal_pipeline.py - Galaxy catalog → Metacal pipeline: loads
pipeline/metacal_pipeline.py - Metacal pipeline → Bias results JSON: writes
pipeline/metacal_pipeline.py - Metacal pipeline → R workflow entry: provides results
pipeline/metacal_pipeline.py