Unreleased
Changed
- The package license in
pyproject.tomlchanges from MIT to CC0-1.0, the
license in the repo'sLICENSE. - The documentation is now in Spanish (
docs/aug/es/) and English
(docs/aug/en/). Both are published to
docs.jjsm.science
and linked as translations of the same page.
0.5.0 (2026-10, W4 deliverable)
New
aug.analysis.aurora_lbosimulates LBO injections with full Aurora
transport (aurora_sim, every charge state, no coronal equilibrium) and
fits D(ρ), v(ρ) and the source duration to the measured curve (make_sim,
run_lbo,fit_injection,measured_curve,transport_profiles). It
works without a geqdsk (approximate geometry) and without OMFIT (a minimal
stand-in foratomic_element).load_adf11_subsetreads files with several elements (Fe, Ni) and a
varying number of charge states;elementparameter.- Docs:
aurora_lbo.md.
0.4.0 (2026-10, Oct W3-W4)
Major fix (reading -rest.txt)
read_imp/read_rest: in the-rest.txtfiles theZeffsignal comes in
two identical columns, but the header names it only once. Before this fix,
every signal afterZeffwas shifted by one column:tau_totheld Zeff
(which is why it read ~1.2 to 2),H/L-facs;8held tau_tot,P_OHheld the
H factor,IBu1held P_OH, and the real RMP current ended up in_col0.
AZeff_dupcolumn is now inserted afterZeffwhen the duplicate is
detected. Shots withoutZeff(#38858/9) were already correct.- Effect on 0.3.0:
tau_E_estimateadded the H factor (~0.6 to 1.1) as if it
were P_OH in MW, underestimating τ_E by ~10 to 20 %. τ_imp and the columns
beforeZeffdo not change.
New
aug.io.read_lbo_profiles: every IDA profile (ne, Te) in a-lboN.txt,
with values.aug.analysis.plasma: per-injection parameters for correlations. It covers
τ_E and the H factor from the TOT diagnostic, τ_E = W/P_loss, H98 computed
with IPB98(y,2), I_RMP (IBu1), and edge gradients and peaking of ne/Te
(profile_gradients,rest_parameters,parameter_table).aug.analysis.atomic: W ionization equilibrium with Aurora + ADF11
(load_w_atom_data,w_fractional_abundance), where W44+ sits in a profile
(w44_profile_metrics), a toy LBO with fixed transport (toy_lbo_signal),
and shape metrics (signal_metrics).- Docs:
plasma.md,atomic.md.
0.3.0 (2026-10, Oct W1-W2)
New
aug.analysis.compare: metrics for comparing species. Decay curvature index
(decay_shape,segment_tau), mean residual and curves collapsed int/τ
(residual_profiles,collapsed_curves), delay between charge states of
the same species (multiline_timing),tau_E_estimate,plasma_response
andcomparison_table.SPECIES_Z,SPECIES_LINES.- Docs:
compare.md.
0.2.0 (2026-10, Sep W4 deliverable)
New
aug.analysis.injections: per-injection pipeline (detection in the signal,
onset/peak, rise times, decay window, context, flags) andInjectionSet.
It generalizes the 09W3 code to every species.aug.models.exponential:fit_single_exp,fit_double_exp(multi-start,
physical bounds, identifiability criterion),select_decay_model,
block_bootstrap_tau,fit_rise_decay,exp1,exp2,rise_decay.aug.io.qc.check_files: QC of theTrace=header and MD5 duplicates.aug.plot.injections: overview, aligned curves, fit mosaic, single vs.
double, window sensitivity.Shot.emission,Shot.default_signal,Shot.find_injections,
Shot.analyze_injections,Shot.folder;GroupShots.analyze_injections,
GroupShots.qc_table.DEFAULT_SIGNALS(core line per species).
Behavior changes
Shot.fit_tau_impfits from the detected peak, on the normalized curve,
with a trimmed window. It used to fit fromt_lbo, rise included. The
t_pre,t_postandtime_intervalarguments are ignored.Shot.decayuses the physical emission (yscsign corrected) and
default_signal. It used to takesignals[0], which for Fe was Fe14_284.GroupShots.from_directoryautomatically flags shots whose files belong to
another shot (flag_bad_files=True): #38884.REGIME_MAP:EDA_Fe-LBO-HbecomesECRH-high(it wasICRF, but the
data has no ICRF);RMP_W-LBOand*-NBIbecomeNBI+ECRH.GroupShots.summary()includes thefoldercolumn.
0.1.0 (2026-09)
Shot,GroupShots,Spectrum; readersread_imp,read_rest,
read_lbo,build_catalog;fit_exponential_decay,
fit_double_exponential,compare_decay_models,bootstrap_decay_fit;
figuresaug.plot.shotandaug.plot.group.