Skip to content

Documentation / @interstellar-tools/equations / localSiderealTime

Function: localSiderealTime() ​

ts
function localSiderealTime(date: Date, longitude: Radians): Radians;

Defined in: cartography/earth-rotation.ts:165

Compute local mean sidereal time: Greenwich mean sidereal time turned by a longitude, the angle from the mean equinox to the local meridian.

θLST=θGMST+λ

Where:

Units

  • Inputs: a Date, and the longitude in radians.
  • Output: θLST in radians, in [0, 2π).

Notes

  • A star is on the local meridian when its right ascension equals the local sidereal time.

Parameters ​

ParameterTypeDescription
dateDateThe moment, as a Date.
longitudeRadiansLongitude λ in radians, east positive (finite).

Returns ​

Radians

Local mean sidereal time θLST in radians, in [0, 2π).

Throws ​

If date is not a valid Date, or longitude is not a finite number.

Example ​

ts
// Vallado, Example 3-5: 104° W, 1992-08-20 12:14 UT1
localSiderealTime(new Date('1992-08-20T12:14:00Z'), toRad(-104)); // ≈ 0.848 rad, 48.58°

See ​

greenwichMeanSiderealTime