MCPcopy Create free account
hub / github.com/microsoft/SandDance / getSiderealTime

Function getSiderealTime

docs/app/js/sanddance-app.js:95831–95833  ·  view source on GitHub ↗
(dates, longitudeWestInRadians)

Source from the content-addressed store, hash-verified

95829 return Math.asin(Math.sin(phi) * Math.sin(delta) + Math.cos(phi) * Math.cos(delta) * Math.cos(H));
95830}
95831function getSiderealTime(dates, longitudeWestInRadians) {
95832 return DEGREES_TO_RADIANS * (THETA0 + THETA1 * dates) - longitudeWestInRadians;
95833}
95834function getSolarMeanAnomaly(days) {
95835 return DEGREES_TO_RADIANS * (M0 + M1 * days);
95836}

Callers 1

getSolarPositionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected