DotNet.Astronomy.Class.StarPhysics - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Astronomy / StarPhysics
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:93
What a scanned star burns, weighs and turns at.
Every calculation reads the figures the scan states, and answers null where the star states none it can use.
The maths is ported from the Canonn Research Group's canonn-signals. See ATTRIBUTIONS.md for credit and licence terms.
constChandrasekharLimitSolarMasses:double=1.44
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:102
The mass above which a white dwarf cannot hold itself up, in solar masses.
constNeutronStarMassDropOffSolarMasses:double=2.51
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:108
The mass above which the game states no neutron star, in solar masses.
constSolarRadius:double=695_700_000
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:99
The Sun's radius, in metres.
constSpeedOfLight:double=299_792_458
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:96
The speed of light, in metres a second.
constTovLimitSolarMasses:double=2.17
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:105
The mass above which a neutron star is expected to collapse, in solar masses.
staticAbsoluteBolometricMagnitude(body):double?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:146
How bright a star is across every wavelength.
The star, as a scan states it.
double?
The magnitude, or null where the star states no radius or no temperature.
This is the whole output rather than the visible part, so it differs from the absolute magnitude the scan itself states.
ArgumentNullException
The star is absent.
staticAssessMassStability(body):MassStabilityAssessment?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:179
Whether a star weighs more than its class should allow.
The star, as a scan states it.
The limit it has passed, or null where it has passed none, or the star states no mass or no class.
ArgumentNullException
The star is absent.
staticClassifyNeutronStar(body):NeutronStarClass?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:226
What kind of neutron star a scan describes.
The star, as a scan states it.
The class, or null where the star states no mass, no rotation period or no absolute magnitude.
The rotation period is read without its sign, because a star that turns the other way turns just as fast.
ArgumentNullException
The star is absent.
staticMainSequenceLifetime(body):double?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:127
How long a star burns on the main sequence, in millions of years.
The star, as a scan states it.
double?
The lifetime, or null where the star states no mass.
ArgumentNullException
The star is absent.
staticSchwarzschildRadius(body):double?
Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/StarPhysics.cs:164
How small a body must be squeezed to become a black hole, in metres.
The body, as a scan states it.
double?
The radius, or null where the body states no mass.
ArgumentNullException
The body is absent.