Kepler-4 b

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

- There is no star spectral type measurement, we have instead guessed it based on the effective temperature (assuming it is a main sequence star).

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

Planet radius [Rjup]: 0.357 +0.019 -0.019 (reference: Borucki et al. 2010, https://ui.adsabs.harvard.edu/abs/2010ApJ...713L.126B/abstract )
Planet mass [Mjup]: 0.077 +0.012 -0.012 (reference: Borucki et al. 2010, https://ui.adsabs.harvard.edu/abs/2010ApJ...713L.126B/abstract )
Semi-major axis [AU]: 0.0456 +0.0009 -0.0009 (reference: Borucki et al. 2010, https://ui.adsabs.harvard.edu/abs/2010ApJ...713L.126B/abstract )
Transit impact parameter: 0.022 +0.234 -0.022 (reference: Borucki et al. 2010, https://ui.adsabs.harvard.edu/abs/2010ApJ...713L.126B/abstract )
Star radius [Rsun]: 1.49 +0.07 -0.08 (reference: Borucki et al. 2010, https://ui.adsabs.harvard.edu/abs/2010ApJ...713L.126B/abstract )
Star mass [Msun]: 1.22 +0.05 -0.09 (reference: Borucki et al. 2010, https://ui.adsabs.harvard.edu/abs/2010ApJ...713L.126B/abstract )
Used SED: WASP127 which has type: G5.0 and Teff: 5828. This SED was selected based on the host star's reported Teff: 5857.0 (reference: Borucki et al. 2010, https://ui.adsabs.harvard.edu/abs/2010ApJ...713L.126B/abstract )
Parker wind log10(Mass-loss rate [g s-1]): 9.862
Parker wind temperature [K]: 4809

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

Helium 10833Å [%]: 0.0466
Calcium 8544Å [%]: 0.00816
Magnesium 2796Å [%]: 0.809
Iron 2383Å [%]: 0.217
Carbon 1336Å [%]: 0.244
Oxygen 1302Å [%]: 0.203
Silicon 1265Å [%]: 0.636

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

Helium TSM = EW / 10833.25Å * 10^(-mJ / 5): 1.05e-10
Calcium TSM = EW / 8544.44Å * 10^(-mV / 5): 5.35e-12
Magnesium TSM = EW / 2796.352Å * (7.7pc / d): 6.41e-09
Carbon TSM = EW / 1335.68Å * (7.7pc / d): 3.78e-09
Oxygen TSM = EW / 1302.168Å * (7.7pc / d): 8.76e-10

##########################
# 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:
Kepler4b,Kepler-4 b,0.357,1.49,0.0456,0.077,1.22,0.022,WASP127_binned.spec

Step 3: In the /sunbather/src/ directory, run the following commands:
python construct_parker.py -plname Kepler4b -pdir z_1 -Mdot 9.862 -T 4809 -z 1 -avoid_pwinds_mubar
python convergeT_parker.py -plname Kepler4b -pdir z_1 -dir z_1 -Mdot 9.862 -T 4809 -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/Kepler4b/z_1/parker_4809_9.862/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)