Page 1 of 1

spectral type question

Posted: 14.06.2006, 15:35
by supernerd
would it be posible to create a new type of spectral class, with tempuratures, radii and everything?

Posted: 14.06.2006, 16:54
by selden
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.

Posted: 14.06.2006, 17:01
by t00fri
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

new spectral class

Posted: 14.06.2006, 17:03
by supernerd
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.

Re: new spectral class

Posted: 14.06.2006, 18:30
by t00fri
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...

Posted: 14.06.2006, 18:40
by supernerd
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

Posted: 14.06.2006, 18:43
by t00fri
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

Posted: 14.06.2006, 18:46
by supernerd
alright
thanks t00fri