Documentation / @interstellar-tools/equations / launchAzimuthForInclination
Function: launchAzimuthForInclination()
ts
function launchAzimuthForInclination(
lat: Radians,
i: Radians
): LaunchAzimuthsInterface;Defined in: orbits/launch-azimuth-for-inclination.ts:74
Compute the inertial launch azimuths that reach an inclination from a latitude.
Where:
is the inertial azimuth, clockwise from north (rad) is the target inclination (rad) is the geocentric launch latitude (rad)
Two azimuths reach every reachable inclination: one heading north (
Units
- Inputs:
latandiin radians. - Output: both azimuths in radians, in [0, 2π).
Notes
latis the geocentric latitude. Published latitudes are usually geodetic, which on Earth differ by up to 0.19°, and the inclination by about as much. Convert first (see #186).- A site can only reach inclinations between
and directly. Anything else needs a plane change, or a dogleg during ascent. - The azimuths are inertial. Over the ground, the rocket flies a slightly different heading; see rotatingLaunchAzimuth.
- At
the two solutions meet, due east (or due west for retrograde orbits).
In practiceTo the ISS from Cape Canaveral
44.9°
Inertial azimuth from Pad 39A, 28.447° N geocentric, to an orbit inclined 51.64°
Over the ground the rocket flies 42.7°, because the pad is already moving east at 409 m/s.
ts
launchAzimuthForInclination(toRad(28.447), toRad(51.64)).northbound; // ≈ 44.9°Parameters
| Parameter | Type | Description |
|---|---|---|
lat | Radians | Geocentric launch latitude |
i | Radians | Target inclination |
Returns
The northbound and southbound inertial azimuths, in radians.
Throws
- If any input is not a finite number.
- If
latis not in (-π/2, π/2),iis not in [0, π], orican't be reached fromlat(i < |lat|ori > π - |lat|).
Example
ts
import type { Radians } from '@interstellar-tools/types';
const toRad = (deg: number) => ((deg * Math.PI) / 180) as Radians;
// A sun-synchronous orbit (97.8°) from Vandenberg (34.7° N)
const { southbound } = launchAzimuthForInclination(toRad(34.7), toRad(97.8));
// southbound ≈ 189.5°: south, slightly west