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

Function getSolarMeanAnomaly

docs/app/js/sanddance-app.js:95834–95836  ·  view source on GitHub ↗
(days)

Source from the content-addressed store, hash-verified

95832 return DEGREES_TO_RADIANS * (THETA0 + THETA1 * dates) - longitudeWestInRadians;
95833}
95834function getSolarMeanAnomaly(days) {
95835 return DEGREES_TO_RADIANS * (M0 + M1 * days);
95836}
95837function getEclipticLongitude(meanAnomaly) {
95838 var M = meanAnomaly;
95839 var C = DEGREES_TO_RADIANS * (1.9148 * Math.sin(M) + 0.02 * Math.sin(2 * M) + 0.0003 * Math.sin(3 * M));

Callers 1

getSunCoordsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected