For example, KSI Sco B (part of a binary system) and HIP 13977 (single star) are of undefined spectral class.
What is this strangeness ?
Here's the CELX script I used to mark those stars :
Code: Select all
function mark_spectraltype(x)
local obs = celestia:getobserver()
local nstars = celestia:getstarcount()
local i = 0
-- while i < nstars do
-- star = celestia:getstar(i)
for star in celestia:stars() do
first, last = string.find(star:spectraltype(), x, 1, true)
if first == 1 then
star:mark("#6A287E", "plus", 5)
end
i = i + 1
end
end
spectral = "?"
mark_spectraltype(spectral)