Stellar Models (taurex.stellar)¶
Base¶
- class Star(temperature: float | Quantity | None = 5000, radius: float | Quantity | None = 1.0, distance: float | Quantity | None = 1, magnitudeK: float | None = 10.0, mass: float | Quantity | None = 1.0, metallicity: float | Quantity | None = 1.0)[source]¶
Bases:
Fittable,Loggable,Writeable,CitableA base class that holds information on the star in the model.
Its implementation is a star that has a blackbody spectrum.
- property distanceSystem: float¶
Distance from Earth to the System (in pc).
- initialize(wngrid: ndarray[tuple[int, ...], dtype[float64]]) None[source]¶
Initializes the blackbody spectrum on the given wavenumber grid.
- Parameters:
wngrid (
array) – Wavenumber grid cm-1 to compute black body spectrum
- property mass: float¶
Mass in kg.
- property radius: float¶
Radius in metres.
- property spectralEmissionDensity: ndarray[tuple[int, ...], dtype[float64]]¶
Spectral emmision density in W/m2/cm-1/sr.
- property temperature: float¶
Blackbody temperature in Kelvin.
- write(output: OutputGroup) OutputGroup[source]¶
Write to output group.
- Parameters:
output (
OutputGroup) – Output group to write to.- Return type:
Blackbody¶
- class BlackbodyStar(temperature: float | Quantity | None = 5000, radius: float | Quantity | None = 1.0, distance: float | Quantity | None = 1, magnitudeK: float | None = 10.0, mass: float | Quantity | None = 1.0, metallicity: float | Quantity | None = 1.0)[source]¶
Bases:
StarAlias for the base star type.
Phoenix4All¶
Phoenix4All is fully integrated into TauREx 3. The phoenix4all star is
provided by the phoenix4all
package, which is a required dependency and registers itself automatically
through the taurex.plugins entry point.