sunCoords function

Map<String, num> sunCoords(
  1. num d
)

Implementation

Map<String, num> sunCoords(num d) {
  var M = solarMeanAnomaly(d);
  var L = eclipticLongitude(M);

  return {"dec": declination(L, 0), "ra": rightAscension(L, 0)};
}