|
EGXPhys
|
Functions | |
| template<typename T > | |
| T | EGXPhys::StellarRadius (const T starEffectiveSurfaceTemperatureInK, const T starLuminosityInW) |
| Calculates the radius, \(R\), of a star in meters using its luminosity, \(L\), and its surface tempreture \(T\). \[R=\sqrt{\dfrac{L}{4\pi \sigma T_{eff}^4}}\] . More... | |
| template<typename T > | |
| T | EGXPhys::StellarRadiusFromLuminosityInWatts (const T starEffectiveSurfaceTemperatureInK, const T starLuminosityInW) |
| Calculates the radius, \(R\), of a star in meters using its luminosity, \(L\), and its surface tempreture \(T\). \[R=\sqrt{\dfrac{L}{4\pi \sigma T_{eff}^4}}\] . More... | |
| template<typename T > | |
| T | EGXPhys::StellarRadiusFromLuminosityInSolarLuminosity (const T starEffectiveSurfaceTemperatureInK, const T starLuminosityInSolarLuminosity) |
| Calculates the radius, \(R\), of a star in meters using its luminosity, \(L\), and its surface tempreture \(T\). \[R=\sqrt{\dfrac{L}{4\pi \sigma T_{eff}^4}}\] . More... | |
| T EGXPhys::StellarRadius | ( | const T | starEffectiveSurfaceTemperatureInK, |
| const T | starLuminosityInW | ||
| ) |
Calculates the radius, \(R\), of a star in meters using its luminosity, \(L\), and its surface tempreture \(T\).
\[R=\sqrt{\dfrac{L}{4\pi \sigma T_{eff}^4}}\]
.
See https://en.wikipedia.org/wiki/Luminosity See https://www.astro.princeton.edu/~gk/A403/constants.pdf for equation. Note that one should not use the Luminosity along with apparent magnitude formula to get stellar radius. It is an approximation.
| starEffectiveSurfaceTemperatureInK | \(T_{eff}\ (K)\) Effective surface temperature of the star (black body) in kelvin. See https://en.wikipedia.org/wiki/Effective_temperature. |
| starLuminosityInW | \(L\ (W)\) Luminosity of the star in watts. |
| T EGXPhys::StellarRadiusFromLuminosityInSolarLuminosity | ( | const T | starEffectiveSurfaceTemperatureInK, |
| const T | starLuminosityInSolarLuminosity | ||
| ) |
Calculates the radius, \(R\), of a star in meters using its luminosity, \(L\), and its surface tempreture \(T\).
\[R=\sqrt{\dfrac{L}{4\pi \sigma T_{eff}^4}}\]
.
See https://en.wikipedia.org/wiki/Luminosity See https://www.astro.princeton.edu/~gk/A403/constants.pdf for equation. Note that one should not use the Luminosity along with apparent magnitude formula to get stellar radius. It is an approximation.
| starEffectiveSurfaceTemperatureInK | \(T_{eff}\ (K)\) Effective surface temperature of the star (black body) in kelvin. See https://en.wikipedia.org/wiki/Effective_temperature. |
| starLuminosityInW | \(L\ (dimensionless)\) Luminosity of the star in solar luminosity (the ratio of its luminosity compared to the sun). |
| T EGXPhys::StellarRadiusFromLuminosityInWatts | ( | const T | starEffectiveSurfaceTemperatureInK, |
| const T | starLuminosityInW | ||
| ) |
Calculates the radius, \(R\), of a star in meters using its luminosity, \(L\), and its surface tempreture \(T\).
\[R=\sqrt{\dfrac{L}{4\pi \sigma T_{eff}^4}}\]
.
See https://en.wikipedia.org/wiki/Luminosity See https://www.astro.princeton.edu/~gk/A403/constants.pdf for equation. Note that one should not use the Luminosity along with apparent magnitude formula to get stellar radius. It is an approximation.
| starEffectiveSurfaceTemperatureInK | \(T_{eff}\ (K)\) Effective surface temperature of the star (black body) in kelvin. See https://en.wikipedia.org/wiki/Effective_temperature. |
| starLuminosityInW | \(L\ (W)\) Luminosity of the star in watts. |