Spectral class ? in Celestia

General discussion about Celestia that doesn't fit into other forums.
Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Spectral class ? in Celestia

Post #1by Cham » 29.07.2007, 23:00

Using a variation of some script from Vincent, I discovered that there are lots of stars with the undefined spectral class "?" in Celestia, all in the vicinity of Sol (the red marker in the picture below) :

Image

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)
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Post #2by ajtribick » 29.07.2007, 23:12

Many of the binaries in the visualbins and spectbins have ? for secondaries (and apparent magnitude 5.00).

What does that plot look like if you disable these two files?

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #3by Cham » 29.07.2007, 23:17

I don't think it should change very much, since there isn't a large amount of binaries in Celestia.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #4by t00fri » 30.07.2007, 07:49

chaos syndrome wrote:Many of the binaries in the visualbins and spectbins have ? for secondaries (and apparent magnitude 5.00).

What does that plot look like if you disable these two files?


Since my data files are based on REALLY existing measurements, ? means what it is meant to mean ;-) .

But statistically, the weight of binaries from visualbins and spectbins with (partly) unknown spectral class is low

Bye Fridger
Image

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Spectral class ? in Celestia

Post #5by t00fri » 30.07.2007, 07:55

Cham wrote:For example, KSI Sco B (part of a binary system) and HIP 13977 (single star) are of undefined spectral class.

What is this strangeness ?



It means that either the respective spectral classes seem to be lacking in the HIP data or that there are formats that are not correctly parsed by the Celestia code. The latter may easily be checked. In the former case, more catalogs would have to be logically combined (via PERL), to assign more unknown spectral classes. This is a similiarly tedious affair than in case of my galaxy data (deepsky.dsc), where now as many as 10 different catalogs are merged to extract a maximum of distance values...

Bye Fridger
Image

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #6by Cham » 30.07.2007, 08:01

I feel there's a problem, with the spectral classes in Celestia. It's a shame that so much "nearby" stars don't have a proper spectral class, in an astronomy software which is supposed to be on a scientific level. Also, apparently, Celestia's code is just "reading" the first letter to many spectral classes. The CELX scripts I'm trying to do are unable to read the second number. And Celestia's evaluation of cool red stars radius really sucks. It needs to be corrected. The red dwarfs are way too small. These limitations are killing the usefullness of Celestia, as a scientific astronomy software.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years 2 months
Location: Indiana, United States

Post #7by Hungry4info » 30.07.2007, 15:38

Cham wrote:...These limitations are killing the usefullness of Celestia, as a scientific astronomy software.


I absolutely agree.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #8by t00fri » 31.07.2007, 18:21

So we have to do something about this....

Looking through data/stars.txt of the Celestia source distribution, the vast majority of the HIP stars seems to be associated with a spectral class (last column). So indeed, perhaps the parsing needs improvement.

Bye Fridger
Image

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #9by Cham » 31.07.2007, 18:28

About stars, I have the strong impression that Celestia is unreliable and can't be trusted. It needs a major face lifting (update to all stars in the database, including the binaries). Unfortunately, I can't help much here.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"


Return to “Celestia Users”