is an option for SunPosition, MoonPosition, and related functions that specifies the coordinate system to use for the results.
CelestialSystem
is an option for SunPosition, MoonPosition, and related functions that specifies the coordinate system to use for the results.
Details
- Typical settings for CelestialSystem include:
-
"Horizon" returns results as a pair of altitude/azimuth values "Equatorial" returns results as a pair of right ascension/declination values - The default setting for CelestialSystem is "Horizon".
Examples
Basic Examples (4)
Specify that the position of the Sun should be in equatorial coordinates:
SunPosition[CelestialSystem -> "Equatorial"]Specify that the position of the Moon should be in equatorial coordinates:
MoonPosition[CelestialSystem -> "Equatorial"]Specify that the position of the Sun should be in horizon coordinates:
SunPosition[CelestialSystem -> "Horizon"]Specify that the position of the Moon should be in horizon coordinates:
MoonPosition[CelestialSystem -> "Horizon"]See Also
History
Text
Wolfram Research (2014), CelestialSystem, Wolfram Language function, https://reference.wolfram.com/language/ref/CelestialSystem.html.
CMS
Wolfram Language. 2014. "CelestialSystem." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CelestialSystem.html.
APA
Wolfram Language. (2014). CelestialSystem. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CelestialSystem.html
BibTeX
@misc{reference.wolfram_2026_celestialsystem, author="Wolfram Research", title="{CelestialSystem}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/CelestialSystem.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_celestialsystem, organization={Wolfram Research}, title={CelestialSystem}, year={2014}, url={https://reference.wolfram.com/language/ref/CelestialSystem.html}, note=[Accessed: 13-June-2026]}