Python: defined constants for the radii of Jupiter's 4 largest moons.

To assist software that wants to depict Jupiter and its 4 major moons
as they would appear in a telescope, it is important to know their
physical sizes. I already had constants for Jupiter's equatorial
and polar radii. Here I add constants for the radii of the moons
Io, Europa, Ganymede, and Callisto. They are all nearly spherical,
so a single mean radius value is sufficient.
This commit is contained in:
Don Cross
2021-04-15 12:39:33 -04:00
parent 17900adcb2
commit 4f681919fb
4 changed files with 49 additions and 0 deletions

View File

@@ -158,6 +158,13 @@ However, because Python defines the [angular conversion functions](https://docs.
---
<a name="CALLISTO_RADIUS_KM"></a>
### `CALLISTO_RADIUS_KM = 2410.3`
**The radius of Jupiter's moon Callisto, expressed in kilometers.**
---
<a name="C_AUDAY"></a>
### `C_AUDAY = 173.1446326846693`
@@ -165,6 +172,27 @@ However, because Python defines the [angular conversion functions](https://docs.
---
<a name="EUROPA_RADIUS_KM"></a>
### `EUROPA_RADIUS_KM = 1560.8`
**The radius of Jupiter's moon Europa, expressed in kilometers.**
---
<a name="GANYMEDE_RADIUS_KM"></a>
### `GANYMEDE_RADIUS_KM = 2631.2`
**The radius of Jupiter's moon Ganymede, expressed in kilometers.**
---
<a name="IO_RADIUS_KM"></a>
### `IO_RADIUS_KM = 1821.6`
**The radius of Jupiter's moon Io, expressed in kilometers.**
---
<a name="JUPITER_EQUATORIAL_RADIUS_KM"></a>
### `JUPITER_EQUATORIAL_RADIUS_KM = 71492.0`

View File

@@ -47,6 +47,13 @@ JUPITER_EQUATORIAL_RADIUS_KM = 71492.0 #<const> The equatorial radius of Jupite
JUPITER_POLAR_RADIUS_KM = 66854.0 #<const> The polar radius of Jupiter, expressed in kilometers.
JUPITER_MEAN_RADIUS_KM = 69911.0 #<const> The volumetric mean radius of Jupiter, expressed in kilometers.
# The radii of Jupiter's 4 largest moons were obtained from:
# https://ssd.jpl.nasa.gov/?sat_phys_par
IO_RADIUS_KM = 1821.6 #<const> The radius of Jupiter's moon Io, expressed in kilometers.
EUROPA_RADIUS_KM = 1560.8 #<const> The radius of Jupiter's moon Europa, expressed in kilometers.
GANYMEDE_RADIUS_KM = 2631.2 #<const> The radius of Jupiter's moon Ganymede, expressed in kilometers.
CALLISTO_RADIUS_KM = 2410.3 #<const> The radius of Jupiter's moon Callisto, expressed in kilometers.
_CalcMoonCount = 0
_DAYS_PER_TROPICAL_YEAR = 365.24217