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

Function getSunCoords

docs/app/js/sanddance-app.js:95843–95850  ·  view source on GitHub ↗
(dates)

Source from the content-addressed store, hash-verified

95841 return M + C + P + Math.PI;
95842}
95843function getSunCoords(dates) {
95844 var M = getSolarMeanAnomaly(dates);
95845 var L = getEclipticLongitude(M);
95846 return {
95847 declination: getDeclination(L, 0),
95848 rightAscension: getRightAscension(L, 0)
95849 };
95850}
95851
95852},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"kOmrb":[function(require,module,exports) {
95853var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

getSolarPositionFunction · 0.70

Calls 4

getSolarMeanAnomalyFunction · 0.70
getEclipticLongitudeFunction · 0.70
getDeclinationFunction · 0.70
getRightAscensionFunction · 0.70

Tested by

no test coverage detected