spectral type question

General discussion about Celestia that doesn't fit into other forums.
Topic author
supernerd
Posts: 4
Joined: 14.06.2006
With us: 18 years 5 months

spectral type question

Post #1by supernerd » 14.06.2006, 15:35

would it be posible to create a new type of spectral class, with tempuratures, radii and everything?

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 14.06.2006, 16:54

What kind of spectral class are you considering?

New spectral classes would require code changes.

For the most part, Celestia uses the official spectral classes defined by professional astronomers, although it does have a few nonstandard classes. E.g. It uses Q to designate neutron stars (pulsars) and X to designate black holes.

My understanding is that imaginary spectral classes are not something that the authors of Celestia would be willing to consider.
Selden

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

Post #3by t00fri » 14.06.2006, 17:01

selden wrote:What kind of spectral class are you considering?

New spectral classes would require code changes.

For the most part, Celestia uses the official spectral classes defined by professional astronomers, although it does have a few nonstandard classes. E.g. It uses Q to designate neutron stars (pulsars) and X to designate black holes.

My understanding is that imaginary spectral classes are not something that the authors of Celestia would be willing to consider.


My impression was that he used "class" in a C++ programming context.

Of course one may enlarge the respective class in the code to include other parameters. But this would not be a wise decision since for many stars such an extended parameter set would at best be known with VERY high uncertainties.

Celestia is based on data from real measurements, however...

Bye Fridger
Image

Topic author
supernerd
Posts: 4
Joined: 14.06.2006
With us: 18 years 5 months

new spectral class

Post #4by supernerd » 14.06.2006, 17:03

well what i was thinking is something like replacing a star with a new class which would represent a nova or supernova, so it would have tempuratures that are intermediate or higher than a wolf rayet star, or my other use would be a very large star that is extremely hot as the barycenter of other stars or a massivve solar system.

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

Re: new spectral class

Post #5by t00fri » 14.06.2006, 18:30

supernerd wrote:well what i was thinking is something like replacing a star with a new class which would represent a nova or supernova, so it would have tempuratures that are intermediate or higher than a wolf rayet star, or my other use would be a very large star that is extremely hot as the barycenter of other stars or a massivve solar system.


I don't understand your first sentence. Are you saying you want to expand the "star" class to include supernovae? You certainly wouldn't want to REPLACE the present class for stars! Whenever you expand the definition of a class to include further parameters you MUST be able to furnish those data from measurements for the majority of the stars for which the class applies.

It would be good if you told us, whether you are using the word "class" in a C++ sense or in some other context...It might also be useful to know whether you have some idea of C++ programming or not.

Please take into consideration that we usually cannot implement "preferences" for specific applications of individuals. Hence valid proposals should add some amount of increased generality to Celestia's design, without requiring data that cannot be measured...

Bye Fridger

PS: Do you have a problem with the word "temperature"? Tempura is a well-known Japanese dish...
Image

Topic author
supernerd
Posts: 4
Joined: 14.06.2006
With us: 18 years 5 months

Post #6by supernerd » 14.06.2006, 18:40

im ok with using temperature.
anyway, i wasn't asking for specifics, what i was wondering if it woould be possible to create new stellar types like creating stars or planets
(meaning like not creating a new stellar type for celestia in general, but individual people being able to create their own spectral type like an add on.) like someone could just create their own stellar type for one of their addons and just include that

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

Post #7by t00fri » 14.06.2006, 18:43

supernerd wrote:im ok with using temperature.
anyway, i wasn't asking for specifics, what i was wondering if it woould be possible to create new stellar types like creating stars or planets
(meaning like not creating a new stellar type for celestia in general, but individual people being able to create their own spectral type like an add on.) like someone could just create their own stellar type for one of their addons and just include that


It always is a good idea to try to be more explicit from the start ;-)

Usually, any class definitions are hard coded and imply recompilation of the code.

Bye Fridger
Image

Topic author
supernerd
Posts: 4
Joined: 14.06.2006
With us: 18 years 5 months

Post #8by supernerd » 14.06.2006, 18:46

alright
thanks t00fri


Return to “Celestia Users”