Simplex projection visualization for observable triads
Implement the simplex projection visualization from both notebooks. This is the primary figure type for the structured observables manuscript — projecting model performance onto a 2-simplex defined by 3 observables.
Implementation
Source code reference
Thoery_1_Code.ipynb: plot_simplex_projection with TwoSlopeNorm
Chemostat_Simulator.ipynb: plot_simplex_projection_3D (duplicated ~5x), prepare_simplex_data (~4x), generate_all_simplex_panels (~3x)
Deduplication note
The Chemostat notebook contains 5+ near-identical copies of simplex projection code with minor variations. This issue consolidates them into a single parametric implementation.
Tests
Simplex projection visualization for observable triads
Implement the simplex projection visualization from both notebooks. This is the primary figure type for the structured observables manuscript — projecting model performance onto a 2-simplex defined by 3 observables.
Implementation
plot_simplex_projection(data, triad, ax=None, norm='twoslope', cmap='RdYlGn_r')— 2D ternary projectionplot_simplex_projection_3D(data, triad, ax=None)— 3D elevated simplexprepare_simplex_data(results, triad)→ barycentric coordinates + color valuesgenerate_simplex_panels(results, triads, ncols=3)→ multi-panel figureSource code reference
Thoery_1_Code.ipynb:plot_simplex_projectionwith TwoSlopeNormChemostat_Simulator.ipynb:plot_simplex_projection_3D(duplicated ~5x),prepare_simplex_data(~4x),generate_all_simplex_panels(~3x)Deduplication note
The Chemostat notebook contains 5+ near-identical copies of simplex projection code with minor variations. This issue consolidates them into a single parametric implementation.
Tests