How amougino/amou_tipe works
THREad the Needle models satellite trajectories in a rotating two-body system, then analyzes transfer outcomes across varied settings. The principal workflow is to load settings, integrate a trajectory, calculate transfer metrics, and write results for collection and visualization. The repository also includes trajectory plotting, trajectory diagnostics, and a separate mapping/phase-line capability. Batch and plotting relationships are shown where excerpts support them; big_plot.py is listed as read but its implementation was not provided, so its connections are omitted.
Main entry points: sim.py ODE simulator · on_the_fly.py Sequential sweep · parallel_otf.py Parallel sweep · transfer.py Transfer metrics
Components 19
Trajectory simulation
- Simulation settings
thren/settings_single.json - ODE simulator
thren/sim.py - Physics formulae
thren/formulae.py - Trajectory plotting
thren/sim.py
Trajectory analysis
- Distance metrics
thren/analysis/distance.py - Velocity metrics
thren/analysis/velocity.py - Satellite energy
thren/analysis/sat_energy.py - Transfer metrics
thren/analysis/transfer.py - Jacobi diagnostic
thren/analysis/jacobi.py - Trajectory diagnostic
thren/analysis/trajectory.py
Parameter sweeps
- Sweep settings
thren/settings_multi.json - Sequential sweep
thren/on_the_fly.py - Parallel sweep
thren/parallel_otf.py - Result folder helper
thren/create_folder.py
Results and visualization
- Sweep CSV results
- Result collection
thren/collect.py - Result mapping
thren/mapping.py - Result plotting
thren/big_plot.py
Other components
- User
Connections 27
- User → ODE simulator: runs simulation
- Simulation settings → ODE simulator: loads defaults
thren/sim.py - ODE simulator → Physics formulae: uses physics
thren/sim.py - ODE simulator → Trajectory plotting: plots solution
thren/sim.py - Jacobi diagnostic → ODE simulator: uses dynamics
thren/analysis/jacobi.py - Trajectory diagnostic → ODE simulator: uses dynamics
thren/analysis/trajectory.py - Distance metrics → ODE simulator: uses dynamics
thren/analysis/distance.py - Velocity metrics → ODE simulator: uses dynamics
thren/analysis/velocity.py - Satellite energy → ODE simulator: uses dynamics
thren/analysis/sat_energy.py - Transfer metrics → Velocity metrics: calls velocity
thren/analysis/transfer.py - Transfer metrics → Satellite energy: calls energy
thren/analysis/transfer.py - Transfer metrics → Distance metrics: calls distance
thren/analysis/transfer.py - Sweep settings → Sequential sweep: configures sweep
- Sweep settings → Parallel sweep: configures sweep
- Sequential sweep → ODE simulator: runs cells
thren/on_the_fly.py - Sequential sweep → Transfer metrics: calculates metrics
thren/on_the_fly.py - Sequential sweep → Distance metrics: calculates minima
thren/on_the_fly.py - Sequential sweep → Result folder helper: creates folder
thren/on_the_fly.py - Sequential sweep → Sweep CSV results: writes results
thren/on_the_fly.py - Parallel sweep → ODE simulator: runs cells
thren/parallel_otf.py - Parallel sweep → Transfer metrics: calculates metrics
thren/parallel_otf.py - Parallel sweep → Distance metrics: calculates minima
thren/parallel_otf.py - Parallel sweep → Result folder helper: creates folder
thren/parallel_otf.py - Parallel sweep → Sweep CSV results: writes results
thren/parallel_otf.py - Result collection → Sweep CSV results: reads results
thren/collect.py - Result mapping → Result collection: collects data
thren/mapping.py - Result mapping → Physics formulae: calculates phases
thren/mapping.py