Wrong SpectralTypes for stars

Report bugs, bug fixes and workarounds here.
Topic author
Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 8 months
Location: Germany

Wrong SpectralTypes for stars

Post #1by Guckytos » 15.09.2004, 09:10

HI i just found that Celestia has problems with some of the SpectralTypes it should know.

I had asked the question in forum, which classes Celestia knows and Grant gave me the answer O,B,A,F,G,K,M,L,T,R,S,N,C,WC,WN,D (for a white dwarf),Q (for a neutron star), X (Black hole). Is that list really complete or are there some more classes, for variable stars for example?

Anyways, here are the encountered errors:
1. Celestia doesn't seem to know the C class (Carbon stars), well it does display a star, but says SpectralType "?4V" instead of i.e. "C4V".

2. If i create a N class star in my stc, Celestia makes it into a S class star on display and vice versa.

3. The Wolf-Rayet types WC and WN are seem to be not really two different types, but are just displayed as stars with SpectralType "W4V" for example instead of "WC4V" and "WN4V".

I am using 1.3.1 at the moment, but these errors could also be reproduced with 1.3.2. pre 11.

Regards,

Guckytos

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years 2 months

Re: Wrong SpectralTypes for stars

Post #2by granthutchison » 15.09.2004, 16:47

Guckytos wrote:Is that list really complete or are there some more classes, for variable stars for example?
There's no coding for variable stars. The list is complete as of 1.3.2.

Guckytos wrote:1. Celestia doesn't seem to know the C class (Carbon stars), well it does display a star, but says SpectralType "?4V" instead of i.e. "C4V".
This works in 1.3.2, but was added later than 1.3.1 ... I can't recall which pre version made the change.

Guckytos wrote:2. If i create a N class star in my stc, Celestia makes it into a S class star on display and vice versa.
:) Ha. Celestia has its numbers crossed. The error is also there in reading stars.dat, where Hip 1401 should be N but shows up as S, whereas Hip 14555 has the reverse error.

Guckytos wrote:3. The Wolf-Rayet types WC and WN are seem to be not really two different types, but are just displayed as stars with SpectralType "W4V" for example instead of "WC4V" and "WN4V".
This one's been reported before. I think Celestia's losing track of the two-letter string internally somewhere.

Grant

danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 6 months

Re: Wrong SpectralTypes for stars

Post #3by danielj » 16.09.2004, 14:46

You are wrong,Grant.I have Celestia 1.3.2 and there is no carbon star.Neither the R,N,S,C stars.The quote ?5V or someting like that still remains.
Is that a correction in CVS?

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years 2 months

Re: Wrong SpectralTypes for stars

Post #4by granthutchison » 16.09.2004, 15:51

danielj wrote:You are wrong,Grant.I have Celestia 1.3.2 and there is no carbon star.Neither the R,N,S,C stars.The quote ?5V or someting like that still remains.
Is that a correction in CVS?
No, it's a clean installation of the distribution 1.3.2, downloaded via the Celestia homepage, running on a machine with no other versions of Celestia and no add-ons installed. It contains about 100 stars of spectral class C, such as T Lyr, HD 156074, HD 16115. Spectral class C was supported from 1.3.2pre1 onwards, and stars.dat was updated for subsequent versions.
Are you saying that these stars don't appear as class C in your installation of 1.3.2? I'm a bit surprised.

You might also try to install a carbon star near the solar system with:

Code: Select all

555555 "Test"
{
   RA 0
   Dec 0
   Distance 10
   SpectralType "C8III"
   AbsMag -1.5
}
This also displays the correct spectral class in my installation. Is there a problem in yours?

R,S and N have been supported from very early in Celestia's history, so I really can't explain why you'd have a problem other than the one Guckytos has just pointed out.

Grant

symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 9 months
Location: france, divion

Post #5by symaski62 » 16.09.2004, 15:59

Code: Select all

555555 "Test"
{
   RA 0
   Dec 0
   Distance 10
   SpectralType "C8III"
   AbsMag -1.5
}


I see red 8)
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 3 months
Location: Germantown, Ohio - USA

Post #6by Bob Hegwood » 22.09.2004, 21:38

Grant,

When I add your code to an STC file, I see a red star with the classification
of: C8 III T Lyr is also correctly listed with this classification.

However, I also see the star HIP 3937 listed with a classification of ?5 V.
Mayhap a bit of confusion to those of us who do not fully understand the
star classification system.

Just thought I'd ley you know since DanielJ is Looong on wind, but short
on action. :wink:

Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years 2 months

Post #7by granthutchison » 22.09.2004, 22:14

Thanks for the feedback, Bob.
Hip 3937 has no spectral information at all listed in Hipparcos, which is why it's a "?". The "5V" bit is an unfortunate leak of Celestia's internal assumptions ... no listed subclass, assume 5; no listed luminosity class, assume V. (The assumptions are required so we can pick approximate temperatures and rotation periods off a look-up table.)
You'll be glad to hear that the next version of Celestia will suppress this sort of stuff ... so all you'll see displayed will be the original data and no assumptions. If Hipparcos says just plain "G", that's all that'll appear on the screen, rather than "G5V". If there's no information at all, all you'll see is "Class: ?", which is much less confusing, I think.

Grant

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years 2 months

Post #8by granthutchison » 22.09.2004, 23:12

Have just been playing with the Chris's latest revision to star handling. As well as the improvement in spectral class handling I described above, he has also:
1) Fixed the reversal of classes S & N
2) Made classes WC and WN display properly
3) Added support for white dwarf spectral classes

Oh, and added black-body star colours as an option ...
:)

Grant

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 3 months
Location: Germantown, Ohio - USA

Post #9by Bob Hegwood » 23.09.2004, 08:33

granthutchison wrote:Have just been playing with the Chris's latest revision to star handling.

Good deal, Grant...

These changes will make Christian happy, and the black body addition
should be interesting. Thanks very much for furthering my education.

Are these changes available in the next pre-release? :wink:

Thanks, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

Topic author
Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 8 months
Location: Germany

Post #10by Guckytos » 23.09.2004, 09:11

Yep,

these changes will make me happy :D

And a Black body addition too, cool. But have you also solved the (infinite) Diameter Problem with the black holes?

And how is then the support for the White Dwarfs spectral classes realised?

Could you please send me some details, so that i can update my guide? The guide can be found at my homepage at the moment, but Adirondack will soon upload it to the motherlode.

English Version: http://home.arcor.de/christianlenz/Down ... _Guide.doc
German Version: http://home.arcor.de/christianlenz/Down ... ndbuch.doc

Regards,

Christian "Guckytos"

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years 2 months

Post #11by granthutchison » 23.09.2004, 11:29

Guckytos wrote:And how is then the support for the White Dwarfs spectral classes realised?
It's still in a bit of flux, I think ... at present Chris is supporting the more modern spectral classification for white dwarfs, and reading the temperature subclass when it's present to give a better idea of surface temperature. Fine spectral detail (strings of subsidiary letters) aren't at present supported; nor is the old DO, DB, DA, DF, DG, DK, DM sequence. These limitations may or may not change.
Can I send you details once things are finalized?

Bob, I'm sure there will be a prerelease containing all these features ... but I suspect it won't be tomorrow. Chris is doing a seriously major rewrite of star handling, to include orbits and custom overrides for star definitions.

Grant

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 3 months
Location: Germantown, Ohio - USA

Post #12by Bob Hegwood » 23.09.2004, 21:02

granthutchison wrote:Bob, I'm sure there will be a prerelease containing all these features ... but I suspect it won't be tomorrow. Chris is doing a seriously major rewrite of star handling, to include orbits and custom overrides for star definitions.

No hurry, Grant... Was just curious. "All things come to he who waits."

Thanks again for the education.

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 23 years
Location: Seattle, Washington, USA

Post #13by chris » 23.09.2004, 23:29

Guckytos wrote:And a Black body addition too, cool. But have you also solved the (infinite) Diameter Problem with the black holes?
Yes, I fixed this with a checkin last night. It's also possible in an .stc file to supply a custom radius that will override the default value computed from the luminosity and temperature.

And how is then the support for the White Dwarfs spectral classes realised?

Could you please send me some details, so that i can update my guide? The guide can be found at my homepage at the moment, but Adirondack will soon upload it to the motherlode.

I've give you a full description soon; there are still a few more details to decide upon.

--Chris

Topic author
Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 8 months
Location: Germany

Post #14by Guckytos » 24.09.2004, 08:39

Thanks Chris and Grant,

i am looking forward to this new features. Especially if i can redefine the sun radius, that is something that will probably inspire some cool new systems.
But take your time, better do it a bit slower and really good,than the Microsoft-way :wink: lol

Regards,

Guckytos


Return to “Bugs”