transmission_radius#
- shone.transmission.transmission_radius(wavelength, temperature, pressure, g, R_p0, opacity, vmr, vmr_indices, weights_amu, rayleigh_scattering=True, absorption=True)[source]#
Compute the radius spectrum for planet observed in transmission.
Uses the general formulation for computing transmission spectra in de Wit & Seager (2013) [1]. This function assumes that only H2 and He contribute to Rayleigh scattering.
- Parameters:
wavelength (array) – Wavelength [µm].
temperature (array) – Temperature [K].
pressure (array) – Pressure [bar].
g (array or float) – Surface gravity [cm/s2].
R_p0 (float) – Fiducial planet radius [cm].
opacity (array) – Opacities [cm2/g] of shape (N_species, N_pressure, N_wavelength).
vmr (array) – Volume mixing ratios for each pressure and each species
vmr_indices (array) – Indices of the columns of the
vmrFastChem output matrix corresponding to each opacity inopacity.weights_amu (array) – Weights of each species in
vmr[AMU].rayleigh_scattering (bool) – Include the contribution to the optical depth from Rayleigh scattering. Default is True.
absorption (bool) – Include the contribution to the optical depth from absorption by atoms, ions, and molecules. Default is True.
- Returns:
transmission_radius – Transmission radius [cm] as a function of wavelength.
- Return type:
array
References