Qn on temperature

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
makc
Posts: 18
Joined: 09.01.2007
With us: 17 years 8 months

Qn on temperature

Post #1by makc » 30.01.2007, 11:16

It is my understanding that absolute magnitude M and (total) flux F emitted by the star are related as M = -2.5 log F + const.

That is, if you take temperature T, calculate and integrate black body spectrum across visible wavelengthes, and plot resulting values against M, you should see some sort noisy line.

However, when I actually do that for random 2000 stars, I see this:

Image

Can someone, please, explain it?

Topic author
makc
Posts: 18
Joined: 09.01.2007
With us: 17 years 8 months

Post #2by makc » 30.01.2007, 12:27

I thought the fault is on my side so I plotted M against temperature T.

Aside from wonderful stars with millions of kelvins, again, no correspondence:

Image

Topic author
makc
Posts: 18
Joined: 09.01.2007
With us: 17 years 8 months

Post #3by makc » 30.01.2007, 17:37

never mind, people pointed out that I missed dependance on radius.


Return to “Development”