Skip to main content

Module spin_drift

Module spin_drift 

Source

Structs§

SpinDriftComponents
Components of enhanced spin drift calculation

Functions§

apply_enhanced_spin_drift
Apply enhanced spin drift acceleration to derivatives.
calculate_dynamic_stability
Calculate current gyroscopic stability from retained spin using the Miller formula.
calculate_enhanced_spin_drift
Calculate enhanced spin drift with all components.
calculate_gyroscopic_drift
Calculate the cumulative empirical Litz gyroscopic-drift component.
calculate_magnus_drift_component
Calculate Magnus effect contribution to drift
calculate_spin_rate
Calculate bullet spin rate from velocity and twist rate
calculate_yaw_of_repose
Calculate the yaw of repose (equilibrium yaw angle)
compute_enhanced_spin_drift_simple
Simplified interface for compatibility with existing code
effective_sg_from_inputs
Canonical muzzle gyroscopic stability Sg for the empirical Litz spin-drift model, shared by cli_api and the fast / Monte-Carlo path so every solver family uses ONE Sg (MBA-1134, rank 31).
litz_drift_inches
Empirical Litz spin-drift MAGNITUDE in inches from the muzzle gyroscopic stability sg and time of flight t_s (seconds): drift_inches = 1.25 * (Sg + 1.2) * t^1.83
litz_drift_meters
Signed Litz spin drift in METERS along McCoy Z (lateral / windage). A right-hand twist drifts to the right (+Z); a left-hand twist drifts left (-Z). MBA-1134.