Documentation / @interstellar-tools/equations / hyperbolicToTrueAnomaly
Function: hyperbolicToTrueAnomaly()
ts
function hyperbolicToTrueAnomaly(F: number, e: number): Radians;Defined in: anomalies/hyperbolic-to-true-anomaly.ts:38
Convert a hyperbolic anomaly
Units
- Inputs:
Fin radians,edimensionless. - Output:
in radians, in .
Notes
- The inverse of trueToHyperbolicAnomaly.
- As
, approaches the asymptotes but never reaches them. - Returns a signed angle, negative before periapsis. Use
norm2pifor [0, 2π).
Parameters
| Parameter | Type | Description |
|---|---|---|
F | number | Hyperbolic anomaly |
e | number | Eccentricity |
Returns
True anomaly
Throws
- If any input is not a finite number.
- If
e <= 1.
Example
ts
const nu = hyperbolicToTrueAnomaly(Math.acosh(2), 2);
// nu ≈ π/2