Pipeline de inyecciones (aug.plot.injections, v0.2)
Todas reciben un InjectionSet, y opcionalmente una sub-tabla para elegir
inyecciones. Devuelven (fig, axes).
| Función | Figura |
|---|---|
plot_injection_overview(shot, res) |
emisión + P_ECRH/P_NBI; t(-lboN) en rojo, onsets en negro, ventana de ajuste sombreada |
plot_aligned_injections(res, table) |
inyecciones alineadas en el onset, normalizadas; subida lineal + decaimiento log |
plot_decay_fits(res, table, ncol=4) |
mosaico: datos desde el pico, ajuste simple (rojo) y doble (azul, con componentes), residuos |
plot_tau_single_vs_double(table) |
τ simple vs. τ_slow; lleno = doble identificable |
plot_window_sensitivity(res, table) |
τ por inicio (símbolo) y largo (color) de ventana |
from aug.plot.injections import plot_decay_fits
fe = res.table.query("species == 'Fe'")
fig, _ = plot_decay_fits(res, fe, ncol=4)
fig.savefig("fe_fits.pdf")
El # de los títulos se escapa solo si text.usetex está activo.
Legacy (v0.1)
aug.plot.shot:plot_overview,plot_decay,plot_decay_panel,
plot_multi_lbo,plot_ne_profile,plot_model_comparison.aug.plot.group:plot_mosaic,plot_ne_profiles,
plot_species_comparison,plot_dataset_map.
Desde v0.2 usan Shot.emission() (signo físico) y default_signal a través
de Shot.decay.