|
EGXPhys
|
Functions | |
| template<typename T > | |
| T | EGXPhys::blackbodyLuminosity (const T &area, const T &tempreture) |
| Calculates the luminosity in watts of a black body. More... | |
| template<typename T > | |
| T | EGXPhys::radioLuminosity (const T &fluxDensity, const T &luminosityDistance, const T &redshift, const T &spectralIndex) |
| Calculates the radio luminosity in W/Hz of a radio source. More... | |
| T EGXPhys::blackbodyLuminosity | ( | const T & | area, |
| const T & | tempreture | ||
| ) |
Calculates the luminosity in watts of a black body.
\[L=\sigma*A*T^4\]
See https://en.wikipedia.org/wiki/Luminosity
| area | A(m^2) is the area of black body |
| tempreture | T(K) is tempreture of black body |
| T EGXPhys::radioLuminosity | ( | const T & | fluxDensity, |
| const T & | luminosityDistance, | ||
| const T & | redshift, | ||
| const T & | spectralIndex | ||
| ) |
Calculates the radio luminosity in W/Hz of a radio source.
See https://en.wikipedia.org/wiki/Luminosity#Radio_luminosity.
| fluxDensity | (W*m^2/Hz) is observed flux density |
| luminosityDistance | (m) is the luminosity distance. See https://en.wikipedia.org/wiki/Luminosity_distance. |
| redshift | (dimensionless) for a black body. See https://en.wikipedia.org/wiki/Redshift. |
| spectralIndex | (dimensionless). The spectral index is typically -0.7. |