|
EGXPhys
|
Functions | |
| template<typename T > | |
| T | EGXPhys::AbsoluteMagnitude (const T apparentMagnitude, const T distanceInparsecs) |
| Calculates the absolute magnitude, \(M\), of a star from its apparent magnitude, \(m\), and the distance, \(d_{pc}\), in parsecs it is away. \[M= m - 5 \left ( log_{10}(d_{pc}) - 1 \right )\] . More... | |
| template<typename T > | |
| T | EGXPhys::AbsoluteMagnitudeFromParsecs (const T apparentMagnitude, const T distanceInparsecs) |
| Calculates the absolute magnitude, \(M\), of a star from its apparent magnitude, \(m\), and the distance, \(d_{pc}\), in parsecs it is away. \[M= m - 5 \left ( log_{10}(d_{pc}) - 1 \right )\] . More... | |
| template<typename T > | |
| T | EGXPhys::AbsoluteMagnitudeFromParallax (const T apparentMagnitude, const T parallaxInArcSec) |
| Calculates the absolute magnitude, \(M\), of a star from its apparent magnitude, \(m\), and the parallax, \(p\), in arc seconds. \[M= m - 5 \left ( log_{10} \left ( \dfrac{1}{p} \right ) - 1 \right )\] . More... | |
| template<typename T > | |
| T | EGXPhys::AbsoluteMagnitudeFromAU (const T apparentMagnitude, const T distanceInAstronomicalUnits) |
| Calculates the absolute magnitude, \(M\), of a star from its apparent magnitude, \(m\), and the distance, \(d_{AU}\), in astronomical units it is away. \[M= m - 5 \left ( log_{10} \left ( \dfrac{\pi}{648000}d_{AU} \right ) - 1 \right )\] . More... | |
| T EGXPhys::AbsoluteMagnitude | ( | const T | apparentMagnitude, |
| const T | distanceInparsecs | ||
| ) |
Calculates the absolute magnitude, \(M\), of a star from its apparent magnitude, \(m\), and the distance, \(d_{pc}\), in parsecs it is away.
\[M= m - 5 \left ( log_{10}(d_{pc}) - 1 \right )\]
.
See https://en.wikipedia.org/wiki/Absolute_magnitude
| apparentMagnitude | \(M\ (dimensionless)\) Apparent magnitude of a star (almost allways as seen from earth). |
| distanceInparsecs | \(d_{pc}\ (pc)\) Distance in parsecs between a star and the measurement of apparent magnitude. |
| T EGXPhys::AbsoluteMagnitudeFromAU | ( | const T | apparentMagnitude, |
| const T | distanceInAstronomicalUnits | ||
| ) |
Calculates the absolute magnitude, \(M\), of a star from its apparent magnitude, \(m\), and the distance, \(d_{AU}\), in astronomical units it is away.
\[M= m - 5 \left ( log_{10} \left ( \dfrac{\pi}{648000}d_{AU} \right ) - 1 \right )\]
.
See https://en.wikipedia.org/wiki/Absolute_magnitude
| apparentMagnitude | \(M\ (dimensionless)\) Apparent magnitude of a star (almost allways as seen from earth). |
| distanceInAstronomicalUnits | \(d_{AU}\ (AU)\) Distance in astronomical units between a star and the measurement of apparent magnitude. |
| T EGXPhys::AbsoluteMagnitudeFromParallax | ( | const T | apparentMagnitude, |
| const T | parallaxInArcSec | ||
| ) |
Calculates the absolute magnitude, \(M\), of a star from its apparent magnitude, \(m\), and the parallax, \(p\), in arc seconds.
\[M= m - 5 \left ( log_{10} \left ( \dfrac{1}{p} \right ) - 1 \right )\]
.
See https://en.wikipedia.org/wiki/Absolute_magnitude
| apparentMagnitude | \(M\ (dimensionless)\) Apparent magnitude of a star (almost allways as seen from earth). |
| parallaxInArcSec | \(p\ (arc seconds)\) Parallax of the star in arc seconds. |
| T EGXPhys::AbsoluteMagnitudeFromParsecs | ( | const T | apparentMagnitude, |
| const T | distanceInparsecs | ||
| ) |
Calculates the absolute magnitude, \(M\), of a star from its apparent magnitude, \(m\), and the distance, \(d_{pc}\), in parsecs it is away.
\[M= m - 5 \left ( log_{10}(d_{pc}) - 1 \right )\]
.
See https://en.wikipedia.org/wiki/Absolute_magnitude
| apparentMagnitude | \(M\ (dimensionless)\) Apparent magnitude of a star (almost allways as seen from earth). |
| distanceInparsecs | \(d_{pc}\ (pc)\) Distance in parsecs between a star and the measurement of apparent magnitude. |