Model of a stc file

Observations

# Sirius B

300001 {

        RA 101.2886

        Dec -16.71314306

        Distance 8.601223

        SpectralType "D"

        AppMag 15

        }

 

 

In degrees

from -90° to90°

In light-year

 

 

 

 

Detailed description :

   These files allow you to add stars in Celestia in a very easy way by using stc files such as the ssc files used to add objects around any planets or stars you want.

 

     In Celestia your star will be called, HIP followed by the number written in your ssc file, for example there it will be called HIP 300001 (the stars called HIP xxxxxx come from the Hipparcos catalog which contains nearly 120.000 stars, that's why you should give your star a number greater than 120.000 so that you won't have twice the same number).

Anyway you can rename your star later by editing the file starnames.dat as this file contains the name of all the file you see in Celestia, so you just have to add a line at the end like this one :

118322:EPS Tuc
300001:Sirius B

So your star HIP 300001 should be recognized by Celestia as the dwarf star Sirius B.

 

RA —> Right Ascension

DEC —> Declinaison

Distance —> Distance from the sun in light-years

Spectraltype —> See the page Stars.dat

AppMag —> Apparent Magnitude

 

 

Celestia uses the following formula to determine the radius of a star:
Radius = sqrt (luminosity)* (solar temp/star temp)**2

A star's luminosity is determined from its absolute magnitude (or apparent magnitude and distance). Celestia uses some lookup tables to determine a star's temperature, depending on the star's class and subclass.

------------------------Thanks to Selden------------------------