webbpsf_ext.spectra.planets_sb12

class webbpsf_ext.spectra.planets_sb12(atmo='hy1s', mass=1, age=100, entropy=10.0, distance=10, accr=False, mmdot=None, mdot=None, accr_rin=2.0, truncated=False, base_dir=None, **kwargs)[source]

Bases: object

Exoplanet spectrum from Spiegel & Burrows (2012)

This contains 1680 files, one for each of 4 atmosphere types, each of 15 masses, and each of 28 ages. Wavelength range of 0.8 - 15.0 um at moderate resolution (R ~ 204).

The flux in the source files are at 10 pc. If the distance is specified, then the flux will be scaled accordingly. This is also true if the distance is changed by the user. All other properties (atmo, mass, age, entropy) are not adjustable once loaded.

Parameters
  • atmo (str) –

    A string consisting of one of four atmosphere types:

    • ‘hy1s’ = hybrid clouds, solar abundances

    • ‘hy3s’ = hybrid clouds, 3x solar abundances

    • ‘cf1s’ = cloud-free, solar abundances

    • ‘cf3s’ = cloud-free, 3x solar abundances

  • mass (float) – A number 1 to 15 Jupiter masses (increments of 1MJup).

  • age (float) – Age in millions of years (1-1000)

  • entropy (float) – Initial entropy (8.0-13.0) in increments of 0.25

  • distance (float) – Assumed distance in pc (default is 10pc)

  • accr (bool) – Include accretion (default: False)?

  • mmdot (float) – From Zhu et al. (2015), the Mjup^2/yr value. If set to None then calculated from age and mass.

  • mdot (float) – Or use mdot (Mjup/yr) instead of mmdot.

  • accr_rin (float) – Inner radius of accretion disk (units of RJup; default: 2)

  • truncated (bool) – Full disk or truncated (ie., MRI; default: False)?

  • base_dir (str, None) – Location of atmospheric model sub-directories.

__init__(atmo='hy1s', mass=1, age=100, entropy=10.0, distance=10, accr=False, mmdot=None, mdot=None, accr_rin=2.0, truncated=False, base_dir=None, **kwargs)[source]

Methods

__init__([atmo, mass, age, entropy, ...])

export_pysynphot([waveout, fluxout])

Output to pysynphot.spectrum object

Attributes

age

Age in millions of years

atmo

Atmosphere type

distance

Assumed distance to source (pc)

entropy

Initial entropy (8.0-13.0)

flux

Spectral flux

fluxunits

Flux units

mass

Mass of planet (MJup)

mdot

Accretion rate in MJup/yr

sub_dir

wave

Wavelength of spectrum

waveunits

Wavelength units

property age

Age in millions of years

property atmo

Atmosphere type

property distance

Assumed distance to source (pc)

property entropy

Initial entropy (8.0-13.0)

export_pysynphot(waveout='angstrom', fluxout='flam')[source]

Output to pysynphot.spectrum object

Export object settings to a pysynphot.spectrum.

Parameters
  • waveout (str) – Wavelength units for output

  • fluxout (str) – Flux units for output

property flux

Spectral flux

property fluxunits

Flux units

property mass

Mass of planet (MJup)

property mdot

Accretion rate in MJup/yr

property wave

Wavelength of spectrum

property waveunits

Wavelength units