An open API service indexing awesome lists of open source software.

https://github.com/steviecurran/star-spectrum

C (pgplot) code to plot the Planck function of a black body (Sun or any other star)
https://github.com/steviecurran/star-spectrum

astrophysics color infrared physics planck radio spectral-energy-distribution stars stellar sun teaching temperature ultraviolet visible

Last synced: 8 months ago
JSON representation

C (pgplot) code to plot the Planck function of a black body (Sun or any other star)

Awesome Lists containing this project

README

          

# star-spectrum
C (Pgplot) code to plot the Planck function of a black body (Sun or any other star)

Used as a teaching tool in an astrophysics course. For a given temperature (e.g. 5780 K for the Sun) will plot the star's spectral energy distribution (brightness at different wavelengths) and yield the total (bolometric) luminosity).

![](https://raw.githubusercontent.com/steviecurran/star-spectrum/refs/heads/main/BB_lambda-sun.jpg)