Kepler-42 b

####################################
# WARNINGS specific to this planet #
####################################

- The mass is derived from a M-R relationship. It thus also has no errors and it may be very uncertain.
- The planet radius has large (>10%) errors.
- The semi-major axis does not have reported errors and is thus uncertain.
- The star mass has large (>25%) errors. However, it's effect is relatively minor and only affects the predicted planetary mass-loss rate. If it is tied to a wrongly classified stellar spectral type, it has larger consequences.
- log(K phi_p) = 11.35, which is outside the bounds [12.17, 13.29] where the Caldiroli et al. (2022) parametrization for the mass-loss rate is formally valid. The used mass-loss rate may thus be inaccurate.
- The density of this planet is 4.56 > 3 g cm-3, which may indicate that this is a terrestrial planet, for which the Parker wind prescription may be invalid.

###################
# Used parameters #
###################

Planet radius [Rjup]: 0.07 +0.02 -0.02 (reference: Muirhead et al. 2012, https://ui.adsabs.harvard.edu/abs/2012arXiv1201.2189M/abstract )
Planet mass [Mjup]: 0.00126 +nan nan (reference: Calculated Value, None )
Semi-major axis [AU]: 0.0116 +nan nan (reference: Muirhead et al. 2012, https://ui.adsabs.harvard.edu/abs/2012arXiv1201.2189M/abstract )
Transit impact parameter: 0.711 +0.049 -0.049 (reference: Muirhead et al. 2012, https://ui.adsabs.harvard.edu/abs/2012arXiv1201.2189M/abstract )
Star radius [Rsun]: 0.17 +0.04 -0.04 (reference: Muirhead et al. 2012, https://ui.adsabs.harvard.edu/abs/2012arXiv1201.2189M/abstract )
Star mass [Msun]: 0.13 +0.05 -0.05 (reference: Muirhead et al. 2012, https://ui.adsabs.harvard.edu/abs/2012arXiv1201.2189M/abstract )
Used SED: LHS-2686 which has type: M5.0 and Teff: 3200. This SED was selected based on the host star's reported type: M5.0 (reference: Muirhead et al. 2012, https://ui.adsabs.harvard.edu/abs/2012arXiv1201.2189M/abstract )
Parker wind log10(Mass-loss rate [g s-1]): 10.463
Parker wind temperature [K]: 1974

#########################################
# Line depths of some important tracers #
#########################################

Helium 10833Å [%]: 10.2
Calcium 8544Å [%]: 0.00295
Magnesium 2796Å [%]: 10.1
Iron 2383Å [%]: 5.76
Carbon 1336Å [%]: 7.39
Oxygen 1302Å [%]: 7.6
Silicon 1265Å [%]: 9.51

#################################
# TSM of some important tracers #
#################################

Helium TSM = EW / 10833.25Å * 10^(-mJ / 5): 3.68e-08
Calcium TSM = EW / 8544.44Å * 10^(-mV / 5): 8.80e-13
Magnesium TSM = EW / 2796.352Å * (7.7pc / d): 1.20e-06
Carbon TSM = EW / 1335.68Å * (7.7pc / d): 1.19e-06
Oxygen TSM = EW / 1302.168Å * (7.7pc / d): 8.92e-07

##########################
# Reproducing this model #
##########################

You can reproduce these results (or change some of the input parameters) as follows:
Step 1: Install sunbather from www.github.com/dlinssen/sunbather (make sure to follow all steps of the installation)

Step 2: Add the following line to your $SUNBATHER_PROJECT_PATH/planets.txt file:
Kepler42b,Kepler-42 b,0.07,0.17,0.0116,0.00126,0.13,0.711,LHS-2686_binned.spec

Step 3: In the /sunbather/src/ directory, run the following commands:
python construct_parker.py -plname Kepler42b -pdir z_1 -Mdot 10.463 -T 1974 -z 1 -avoid_pwinds_mubar
python convergeT_parker.py -plname Kepler42b -pdir z_1 -dir z_1 -Mdot 10.463 -T 1974 -z 1

Step 4: In a Python script, calculate the transit spectrum as follows:
import sys
sys.path.append('/YOUR/PATH/TO/sunbather/src/')
import tools
import RT
import numpy as np

sim = tools.Sim(tools.projectpath+'/sims/1D/Kepler42b/z_1/parker_1974_10.463/converged')
wavs = np.logspace(np.log10(911),np.log10(11000), num=1000000) #change wavelength grid as you want
species_to_include = tools.get_specieslist() #this includes all species, can be changed - see sunbather wiki
transit_spectrum, _, _ = RT.FinFout(sim, wavs, species_to_include)