How mdubery/masters works
This is a research codebase for simulating photoevaporative loss of a planet’s hydrogen envelope, with separate machine-learning experiments on simulation outcomes. The main workflow configures a planet, integrates its envelope fraction over time, recalculates its structure and mass loss, and plots radius and envelope history. A compiled fast path supports final-state runs; the repository also includes Aiolos rate tables and a 6D classifier/regressor experiment. Relationships for unsampled scripts and data-generation stages are omitted where their wiring is not evidenced.
Main entry points: mass_fraction_evolver.py Envelope Integrator · main.py Evolution Demo · fast_evolver.py Fast Integrator · aiolos_mass_loss.py Aiolos Rates
Components 13
Planet Evolution
- Evolution Demo
evolution_model/main.py - Envelope Integrator
evolution_model/mass_fraction_evolver.py - Fast Integrator
evolution_model/fast_evolver.py - Cash-Karp Stepper
evolution_model/RKF45.py - Evolution Plots
evolution_model/main.py - Period Sweep
evolution_model/M_test_1.py
Physical Models
- Planet Structure
evolution_model/planet_structure.py - Aiolos Rates
evolution_model/aiolos_mass_loss.py - Physical Constants
evolution_model/constants.py
Model Data
- Aiolos CSV Grid
evolution_model/Aiolos mass loss rates/V2 - 6D Training Data
evolution_model/training_data_6D.csv
ML Experiments
- 6D ML Experiment
evolution_model/6D_test_MLPR.py
Other components
- Researcher
Connections 16
- Researcher → Evolution Demo: configures
evolution_model/main.py - Evolution Demo → Envelope Integrator: runs evolution
evolution_model/main.py - Evolution Demo → Evolution Plots: plots history
evolution_model/main.py - Envelope Integrator → Cash-Karp Stepper: steps with
evolution_model/mass_fraction_evolver.py - Envelope Integrator → Planet Structure: computes radii
evolution_model/mass_fraction_evolver.py - Envelope Integrator → Aiolos Rates: evaluates rates
evolution_model/mass_fraction_evolver.py - Envelope Integrator → Fast Integrator: dispatches to
evolution_model/mass_fraction_evolver.py - Envelope Integrator → Physical Constants: uses constants
evolution_model/mass_fraction_evolver.py - Planet Structure → Physical Constants: uses constants
evolution_model/planet_structure.py - Fast Integrator → Aiolos Rates: uses rates
evolution_model/fast_evolver.py - Fast Integrator → Physical Constants: uses constants
evolution_model/fast_evolver.py - Aiolos Rates → Aiolos CSV Grid: loads tables
- Researcher → Period Sweep: runs sweep
evolution_model/M_test_1.py - Period Sweep → Envelope Integrator: runs evolution
evolution_model/M_test_1.py - Researcher → 6D ML Experiment: runs experiment
evolution_model/6D_test_MLPR.py - 6D ML Experiment → 6D Training Data: reads data
evolution_model/6D_test_MLPR.py