I have complied a list of all star types based upon temperature (O5 – T ) and type (Hypergiant - White Dwarfs), but the last thing I am missing is the masses, radii, and the statistical probability of each star class. If any one can help me will obtaining the final information, I would appreciate it.
http://vegastrike.sourceforge.net/forum ... 0071#20071
Help With Star Generator
-
- Posts: 198
- Joined: 28.07.2003
- With us: 21 years 3 months
- Location: Slartibartfast's Shed, London
Have a look at this site.
http://www.users.zetnet.co.uk/trisen/sol/2300ad/wg/
The first few bits there have tabulated data on stars, which may be of use.
However, while the figures look vaguely right, the page is designed as a world building method for RPGs, and thus may not be strictly accurate.
If you do like the figures, I have them tabulated somewhere, which may save you some typing.
Cheers,
Cormoran
http://www.users.zetnet.co.uk/trisen/sol/2300ad/wg/
The first few bits there have tabulated data on stars, which may be of use.
However, while the figures look vaguely right, the page is designed as a world building method for RPGs, and thus may not be strictly accurate.
If you do like the figures, I have them tabulated somewhere, which may save you some typing.
Cheers,
Cormoran
'...Gold planets, Platinum Planets, Soft rubber planets with lots of earthquakes....' The HitchHikers Guide to the Galaxy, Page 634784, Section 5a. Entry: Magrathea
Re: Help With Star Generator
MKruer wrote:I am missing is the masses, radii, and the statistical probability of each star class.
You could extract this information from celestias star database using some queries with my database backend. It is possible to write a query that will place the data directly into a csv text file for import into excel. However the mass table I am using is still incomplete.
Marc Griffith http://mostlyharmless.sf.net
That seems to work well, but I would still like some data verification, for the final chart.
While looking into the HR diagram and stars in general, it seems as if there is no standardized list at all. While looking for the surface temperature I would go to several different sites and they would all have different answer for the same class of star. Very unorganized! This leads me to question the mass/radius of the stars according to the HR diagram. In theory the HR any point on the diagram should tell you, the radius, luminosity, temperature, and mass. But it looks like
I don’t know if the radius and mass truly scales linearly or not. The temperature sure as hell didn’t. perhaps there need to be a new more universal HR diagram for the scientific community. (like that will ever happen)
While looking into the HR diagram and stars in general, it seems as if there is no standardized list at all. While looking for the surface temperature I would go to several different sites and they would all have different answer for the same class of star. Very unorganized! This leads me to question the mass/radius of the stars according to the HR diagram. In theory the HR any point on the diagram should tell you, the radius, luminosity, temperature, and mass. But it looks like
I don’t know if the radius and mass truly scales linearly or not. The temperature sure as hell didn’t. perhaps there need to be a new more universal HR diagram for the scientific community. (like that will ever happen)
Re: Help With Star Generator
marc wrote:MKruer wrote:I am missing is the masses, radii, and the statistical probability of each star class.
You could extract this information from celestias star database using some queries with my database backend. It is possible to write a query that will place the data directly into a csv text file for import into excel. However the mass table I am using is still incomplete.
Could you? In order for it to seriously work i would need the full class of star
G2V, O9Ia, M0VI, etc...
I found somehign intresting,
Stefan-Boltzmann Law
This is the relationship between luminosity (L), radius (R) and temperature (T):
L = (7.125 x 10^-7) R^2 T^4
Units: L - watts, R - meters, T - degrees Kelvin
(luminosity = mass^3)
I guess the only thing i need to find now is the luminosity for each class or starl LOL
Stefan-Boltzmann Law
This is the relationship between luminosity (L), radius (R) and temperature (T):
L = (7.125 x 10^-7) R^2 T^4
Units: L - watts, R - meters, T - degrees Kelvin
(luminosity = mass^3)
I guess the only thing i need to find now is the luminosity for each class or starl LOL
Re: Help With Star Generator
MKruer wrote:marc wrote:MKruer wrote:I am missing is the masses, radii, and the statistical probability of each star class.
You could extract this information from celestias star database using some queries with my database backend. It is possible to write a query that will place the data directly into a csv text file for import into excel. However the mass table I am using is still incomplete.
Could you? In order for it to seriously work i would need the full class of star
G2V, O9Ia, M0VI, etc...
You would use something like this for each star type:
Code: Select all
SELECT COUNT(*) FROM star WHERE CONCAT(spectralClass,spectralSubClass,luminosityClass) = 'G2V';
This is the information available in the star table.
Code: Select all
describe star;
+---------------------+---------------------------------------------------------------------+------+-----+-------------+-------+
| Field | Type | Null | Key | Default | Extra |
| 0 | 1 | 2 | 3 | 4 | 5 |
+---------------------+---------------------------------------------------------------------+------+-----+-------------+-------+
| hip | int(11) unsigned | | PRI | 0 | |
| hd | int(11) unsigned | YES | | NULL | |
| RA | float | | | 0 | |
| declination | float | | | 0 | |
| distFromSol | float | | | 0 | |
| absoluteMagnitude | float | | | 0 | |
| starType | enum('Normal Star','White Dwarf','Neutron Star','Black Hole') | | | Normal Star | |
| spectralClass | enum('O','B','A','F','G','K','M','R','S','N','WC','WN','?','L','T') | | | ? | |
| spectralSubClass | tinyint(4) unsigned | | | 0 | |
| luminosityClass | enum('Ia0','Ia','Ib','II','III','IV','V','VI') | | | Ia0 | |
| parallax | float | | | 0 | |
| parallaxError | tinyint(4) | | | 0 | |
| mass | float | | | 0 | |
| bolometricMagnitude | float | | | 0 | |
| radius | float | | | 0 | |
| rotationPeriod | float | YES | | NULL | |
| temperature | float | YES | | NULL | |
| systemType | enum('Single','Binary','Ternary','Quaternary') | YES | | NULL | |
| breathable | tinyint(4) | | | 0 | |
| seed | int(10) unsigned | YES | | NULL | |
+---------------------+---------------------------------------------------------------------+------+-----+-------------+-------+
20 rows returned
(0.06 seconds)
Marc Griffith http://mostlyharmless.sf.net
Re: Help With Star Generator
What following?
Either way, I wasn't clear.
This:
Would return the number of G2V stars in the database. You could then use a bunch of similar queries to retrieve your statistics.
There are more examples on the addons documentation page.
http://mostlyharmless.sourceforge.net/s ... eadme.html
Beyond that you will have to read some sql material.
Either way, I wasn't clear.
This:
Code: Select all
SELECT COUNT(*) FROM star WHERE CONCAT(spectralClass,spectralSubClass,luminosityClass) = 'G2V';
Would return the number of G2V stars in the database. You could then use a bunch of similar queries to retrieve your statistics.
There are more examples on the addons documentation page.
http://mostlyharmless.sourceforge.net/s ... eadme.html
Beyond that you will have to read some sql material.
Marc Griffith http://mostlyharmless.sf.net
Pulling star data from celestia db
Probably not a good idea if you want a realistic distribution. Both Hipparcos and the celestia database extraction procedure have an inherent selection bias, and that'll show up in your data. For example, you'll be missing lots of dim stars.
In that case just bring the sample set a little closer by adding this to the queries:
Or use a sample from pascals star database which has a lot more of the dimmer stars.
Code: Select all
AND distFromSol < 200
Or use a sample from pascals star database which has a lot more of the dimmer stars.
Marc Griffith http://mostlyharmless.sf.net