function parseSpectralType
universe/src/catalog/spectral.ts:129
Parse one catalog spectral string.
Ranges (k-m, F5IV-V, G8/K0) resolve to their first member rather than a
midpoint: the first is what the observer led with, and a midpoint invents a
classification nobody assigned.
- rawstring
- Undocumented
ReturnsSpectralType