Docs

Metrics for comparing injections of different species (Fe, Ni, Mo, W) without
depending on the absolute scale of each discharge. Used in
notebooks/10W1-10W2/10W2.ipynb.

from aug.analysis.compare import comparison_table, residual_profiles, collapsed_curves, multiline_timing

res = group.analyze_injections()
cmp = comparison_table(res, group)       # res.table + métricas nuevas
cmp[cmp.clean].groupby(["species", "regime"])[["curvature", "rise_over_tau", "tau_over_tauE"]].median()

Columns added by comparison_table

Column Definition How to read it
Z atomic number (SPECIES_Z)
rise_over_tau t_onset_to_peak_ms / tau_imp_ms rise relative to decay; the same in every group if only the time scale changes
tau_A_ms, tau_B_ms τ fitted on [0, τ] and [τ, 2.5τ] from the peak, with the offset b fixed
curvature (κ) tau_B / tau_A 1 = pure exponential; < 1 = shoulder (falls faster later); > 1 = slow tail
tauE_ms W_mhd / (P_ECRH + P_NBI + P_OH) order of magnitude (no radiation or dW/dt)
tau_over_tauE tau_imp / tau_E normalized τ_imp
dTe_pct, dW_pct % change in central Te (ECE) and W_mhd between −100, 0 ms and 30, 120 ms from the onset cooling caused by the injection

Other functions

Notes