powered by
Integer codes used by Astronomy Engine to identify celestial bodies. Pass these constants (or their integer values) to functions that accept a body argument.
body
astro_body
An integer vector with named elements:
0
1
2
3
4
5
6
7
8
9
10
11 — Earth/Moon Barycenter
12 — Solar System Barycenter
astro_body["SUN"] astro_body["MARS"]
Run the code above in your browser using DataLab