[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
  • phoenix4all
    • Uses the phoenix4all library for PHOENIX spectra with auto-download

    • Class phoenix4all.taurex.Phoenix4AllStar

  • custom

Blackbody

star_type = blackbody

Star is considered a blackbody.

Keywords

Variable

Type

Description

Default

temperature

float

Effective temperature in K

5000

radius

float

Radius in solar radius

1.0

mass

float

Mass in solar mass

1.0

distance

float

Distance from Earth in pc

1.0

metallicity

float

Metallicity in solar units

1.0

magnitudeK

float

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.