webbpsf_ext.spectra.companion_spec¶
- webbpsf_ext.spectra.companion_spec(bandpass, model='SB12', atmo='hy3s', mass=10, age=100, entropy=10, dist=10, accr=False, mmdot=None, mdot=None, accr_rin=2, truncated=False, sptype=None, renorm_args=None, Av=0, **kwargs)[source]¶
Determine flux (ph/sec) of a companion
Add exoplanet information that will be used to generate a point source image using a spectrum from Spiegel & Burrows (2012).
Coordinate convention is for +N up and +E to left.
- Parameters
bandpass (
pysynphot.obsbandpass
) – A Pysynphot bandpass object.model (str) – Exoplanet model to use (‘sb12’, ‘bex’, ‘cond’) or stellar spectrum model (‘bosz’, ‘ck04models’, ‘phoenix’).
atmo (str) – A string consisting of one of four atmosphere types: [‘hy1s’, ‘hy3s’, ‘cf1s’, ‘cf3s’].
mass (int) – Number 1 to 15 Jupiter masses.
age (float) – Age in millions of years (1-1000).
entropy (float) – Initial entropy (8.0-13.0) in increments of 0.25
sptype (str) – Instead of using a exoplanet spectrum, specify a stellar type.
renorm_args (dict) – Pysynphot renormalization arguments in case you want very specific luminosity in some bandpass. Includes (value, units, bandpass).
dist (float) – Distance in pc.
Av (float) – Extinction magnitude (assumes Rv=4.0) of the companion (e.g., due to being embedded in a disk).
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).