mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-19 14:27:52 -04:00
Finished defining Jupiter moon radii constants.
Now there are constants for the mean radii of Jupiter's four major moons available in the C, C#, Python, and JavaScript versions of Astronomy Engine. Clarified that these are all mean radii. Fixed some lingering "//" comments in the C code (I want to keep ANSI C code as portable as possible.)
This commit is contained in:
@@ -161,7 +161,7 @@ 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.**
|
||||
**The mean radius of Jupiter's moon Callisto, expressed in kilometers.**
|
||||
|
||||
---
|
||||
|
||||
@@ -175,21 +175,21 @@ 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.**
|
||||
**The mean 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.**
|
||||
**The mean 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.**
|
||||
**The mean radius of Jupiter's moon Io, expressed in kilometers.**
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -49,10 +49,10 @@ JUPITER_MEAN_RADIUS_KM = 69911.0 #<const> The volumetric mean radius of J
|
||||
|
||||
# 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.
|
||||
IO_RADIUS_KM = 1821.6 #<const> The mean radius of Jupiter's moon Io, expressed in kilometers.
|
||||
EUROPA_RADIUS_KM = 1560.8 #<const> The mean radius of Jupiter's moon Europa, expressed in kilometers.
|
||||
GANYMEDE_RADIUS_KM = 2631.2 #<const> The mean radius of Jupiter's moon Ganymede, expressed in kilometers.
|
||||
CALLISTO_RADIUS_KM = 2410.3 #<const> The mean radius of Jupiter's moon Callisto, expressed in kilometers.
|
||||
|
||||
_CalcMoonCount = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user