webbpsf_ext.spectra.sp_accr

webbpsf_ext.spectra.sp_accr(mmdot, rin=2, dist=10, truncated=False, waveout='angstrom', fluxout='flam', base_dir=None)[source]

Exoplanet accretion flux values (Zhu et al., 2015).

Calculated the wavelength-dependent flux of an exoplanet accretion disk/shock from Zhu et al. (2015).

Note

This function only uses the table of photometric values to calculate photometric brightness from a source, so not very useful for simulating spectral observations.

Parameters
  • mmdot (float) – Product of the exoplanet mass and mass accretion rate (MJup^2/yr). Values range from 1e-7 to 1e-2.

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

  • dist (float) – Distance to object (pc).

  • truncated (bool) – If True, then the values are for a disk with Rout=50 RJup, otherwise, values were calculated for a full disk (Rout=1000 RJup). Accretion from a “tuncated disk” is due mainly to MRI. Luminosities for full and truncated disks are very similar.

  • waveout (str) – Wavelength units for output

  • fluxout (str) – Flux units for output

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