function bayerName
universe/src/catalog/designations.ts:205
Expand HYG's bayer field against its con field.
bayer arrives as Alp, Alp-1, Kap-1. The superscript distinguishes
stars that share a Greek letter — sometimes two components of one system
(α¹/α² Cen), sometimes two unrelated stars that happen to sit near each other
(κ¹/κ² Scl). keepSuperscript is the caller's decision because only the
caller knows which case it has; dropping it always would collide two
different systems onto one name.
- bayerstring
- Undocumented
- constellationstring
- Undocumented
- keepSuperscriptboolean
- Undocumented
ReturnsBayerName | null