[Star]¶
This header describes the parent star of the exo-planet.
The star_type informs the type of spectral emission density (SED) used in the emission and direct image forward model.
The star_type available are:
blackbody
Star with a blackbody SED
Class
BlackbodyStar
phoenix4all
Uses the
phoenix4alllibrary for PHOENIX spectra with auto-downloadClass
phoenix4all.taurex.Phoenix4AllStar
custom
User-provided star model. See Custom Types
Blackbody¶
star_type = blackbody
Star is considered a blackbody.
Keywords¶
Variable |
Type |
Description |
Default |
|
|
Effective temperature in K |
5000 |
|
|
Radius in solar radius |
1.0 |
|
|
Mass in solar mass |
1.0 |
|
|
Distance from Earth in pc |
1.0 |
|
|
Metallicity in solar units |
1.0 |
|
|
Magnitude in K-band |
10.0 |
The physical inputs temperature, radius, mass and distance
also accept astropy.units.Quantity. Unitless values retain the units
listed above. metallicity accepts a dimensionless Quantity.
Examples¶
A Sun like star as a black body:
[Star]
star_type = blackbody
radius = 1.0
temperature = 5800
Phoenix4All¶
star_type = phoenix4all
Stellar emission spectrum is obtained from the phoenix4all library, which
automatically downloads (or loads from cache) high-resolution PHOENIX stellar
atmosphere spectra from multiple back-end sources.
Phoenix4All is fully integrated into TauREx 3: the phoenix4all package is a
required dependency and its phoenix4all.taurex.Phoenix4AllStar class is
loaded automatically as a plugin. No separate plugin installation or explicit
import is needed to use star_type = phoenix4all.
The phoenix4all package supports several sources:
"svo"— Spanish Virtual Observatory (default)
"synphot"— STScI Synphot
"hiresfits"— Göttingen HiResFITS
By default a black-body (Planck) spectrum is returned when the requested parameters fall outside the model grid.
Keywords¶
Examples¶
A Sun-like star using Phoenix4All with default SVO source:
[Star]
star_type = phoenix4all
radius = 1.0
temperature = 5800
metallicity = 0.0
Using a different source and disabling Planck fallback:
[Star]
star_type = phoenix4all
radius = 1.0
temperature = 5800
source = synphot
use_planck = False
Note
Before TauREx 3.5, star_type = phoenix selected a built-in
PhoenixStar class that read .fits.gz files from a phoenix_path
directory. That class has been removed. star_type = phoenix is still
accepted, but it now redirects to phoenix4all, so the keywords listed
above apply. phoenix_path is no longer accepted and raises an error.