This function returns a compact four-character code representing the classification of an exoplanet based on its mass, equilibrium temperature, orbital eccentricity, and density.
The classification code is composed of four parts:
Mass class:
M
: Mercury-like planets (< 0.22 Earth masses)E
: Earth-like planets (0.22–2.2 Earth masses)S
: Super-Earths (2.2–22 Earth masses)N
: Neptune-like planets (22–127 Earth masses)J
: Jupiter-like giants (127–4450 Earth masses)D
: Degenerate-matter/brown dwarf-like objects (>= 4450 Earth masses)
Temperature class:
F
: Frozen (T < 250 K)W
: Temperate/water zone (250–450 K)G
: Gaseous (450–1000 K)R
: Roasters (>= 1000 K)
Eccentricity:
First decimal digit of orbital eccentricity. For example, 0.26 →
3
→ appended as3
.
Density-based surface/composition class:
g
: Gas-dominated (< 0.25 g/cm³)w
: Water/ice-rich (0.25–2 g/cm³)t
: Terrestrial/rocky (2–6 g/cm³)i
: Iron-rich (6–13 g/cm³)s
: Super-dense (>= 13 g/cm³)