Constants§
- BULLET_
LENGTH_ RHO_ EFF_ KG_ M3 - Effective density (kg/m^3) used by the mass-based bullet-length estimate.
- DEFAULT_
TWIST_ SG_ TARGET - Gyroscopic-stability target used to synthesize a default twist when the shooter does not supply one (MBA-1135).
Functions§
- compute_
spin_ drift - Calculate spin drift in meters using Litz approximation.
- compute_
spin_ drift_ with_ decay - Calculate spin drift with optional spin decay modeling
- compute_
stability_ coefficient - Calculate the gyroscopic stability coefficient (SG) for the bullet.
- default_
twist_ inches - Synthesize a default barrel twist (inches per turn) for a bullet whose twist the shooter did not
supply, by inverting the Miller stability formula for the twist that yields
DEFAULT_TWIST_SG_TARGET(MBA-1135). - estimate_
bullet_ length_ m - Estimate a bullet’s length (meters) from its diameter and mass using a constant-effective-density cylinder model (MBA-1135).