function ladderIndex
universe/src/catalog/spectral.ts:87
Position on the OBAFGKM ladder as a continuous number: O0 = 0, M9 = 69.
Null off the ladder. Every temperature and color fallback keys off this, so a brown dwarf or a white dwarf reaching one of them would be interpolated against stars it has nothing in common with.
- typeSpectralType
- Undocumented
Returnsnumber | null