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:
objectExoplanet 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(**kwargs)export_synphot([waveout, fluxout])Output to synphot spectrum object
Attributes
Age in millions of years
Atmosphere type
Assumed distance to source (pc)
Initial entropy (8.0-13.0)
Spectral flux
Flux units
Mass of planet (MJup)
Accretion rate in MJup/yr
sub_dirWavelength of spectrum
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_synphot(waveout='angstrom', fluxout=None)[source]
Output to synphot spectrum object
- 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