v0.4.0 — Stuart-Landau Amplitude Engine, PAC Gating, Envelopes
Added
- Stuart-Landau amplitude engine —
StuartLandauEngineintegrates coupled phase-amplitude ODEs (Acebrón et al. 2005):dr_i/dt = (μ - r²)r + ε Σ K^r_ij r_j cos(θ_j - θ_i). Euler/RK4/RK45, pre-allocated scratch, amplitude clamping, weighted order parameter. - Phase-amplitude coupling (PAC) —
modulation_index()(Tort et al. 2010),pac_matrix(),pac_gate() - Modulation envelopes —
extract_envelope()(sliding-window RMS),envelope_modulation_depth(),EnvelopeState AmplitudeSpecin binding types;amplitude:YAML block activates Stuart-Landau modeCouplingState.knm_r,CouplingBuilder.build_with_amplitude(),ImprintModel.modulate_mu()LayerState.mean_amplitude,LayerState.amplitude_spread,UPDEState.mean_amplitude,UPDEState.pac_max,UPDEState.subcritical_fraction- CLI branches on amplitude mode, audit logger records
amplitude_mode - ~80 new tests (total ~860)
See CHANGELOG.md for full details.