Kepler-1997 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 does not have reported errors and is thus uncertain.
- The semi-major axis does not have reported errors and is thus uncertain.
- The star radius has large (>25%) errors. However, it's effect is relatively minor and only affects transit depths through Rstar^2. If it is tied to a wrongly classified stellar spectral type, it has larger consequences.
- There is no star spectral type measurement, we have instead guessed it based on the effective temperature (assuming it is a main sequence star).
- The age of the host star is unknown. If the star is young, it may have considerably higher XUV flux than the used SED of a mature star.
- F_XUV / rho_p = 34.86, which is outside the bounds [10^2, 10^6] where the Caldiroli et al. (2022) parametrization for the mass-loss rate is formally valid. The used mass-loss rate may thus be inaccurate. Furthermore, the value is less than 10^2, where the formula is actually mathematically undefined. We have proceeded by setting it to 10^2.
- log(K phi_p) = 12.15, 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.

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

Planet radius [Rjup]: 0.218 +nan nan (reference: Valizadegan et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230502470V/abstract )
Planet mass [Mjup]: 0.0183 +nan nan (reference: Calculated Value, None )
Semi-major axis [AU]: 0.1815 +nan nan (reference: Q1-Q17 DR25 KOI Table, https://exoplanetarchive.ipac.caltech.edu/docs/Kepler_KOI_docs.html )
Transit impact parameter: 0.407 +0.058 -0.407 (reference: Q1-Q17 DR25 KOI Table, https://exoplanetarchive.ipac.caltech.edu/docs/Kepler_KOI_docs.html )
Star radius [Rsun]: 1.05 +0.33 -0.13 (reference: Q1-Q17 DR25 KOI Table, https://exoplanetarchive.ipac.caltech.edu/docs/Kepler_KOI_docs.html )
Star mass [Msun]: 1.11 +0.15 -0.15 (reference: Q1-Q17 DR25 KOI Table, https://exoplanetarchive.ipac.caltech.edu/docs/Kepler_KOI_docs.html )
Used SED: HD149026 which has type: G0.0 and Teff: 6084. This SED was selected based on the host star's reported Teff: 6215.0 (reference: Q1-Q17 DR25 KOI Table, https://exoplanetarchive.ipac.caltech.edu/docs/Kepler_KOI_docs.html )
Parker wind log10(Mass-loss rate [g s-1]): 8.561
Parker wind temperature [K]: 1894

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

Helium 10833Å [%]: 0.0253
Calcium 8544Å [%]: 0.00521
Magnesium 2796Å [%]: 0.453
Iron 2383Å [%]: 0.161
Carbon 1336Å [%]: 0.0132
Oxygen 1302Å [%]: 0.197
Silicon 1265Å [%]: 0.259

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

Helium TSM = EW / 10833.25Å * 10^(-mJ / 5): 8.82e-12
Calcium TSM = EW / 8544.44Å * 10^(-mV / 5): 3.98e-13
Magnesium TSM = EW / 2796.352Å * (7.7pc / d): 4.74e-10
Carbon TSM = EW / 1335.68Å * (7.7pc / d): 2.39e-10
Oxygen TSM = EW / 1302.168Å * (7.7pc / d): 1.59e-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:
Kepler1997b,Kepler-1997 b,0.218,1.05,0.1815,0.0183,1.11,0.407,HD149026_binned.spec

Step 3: In the /sunbather/src/ directory, run the following commands:
python construct_parker.py -plname Kepler1997b -pdir z_1 -Mdot 8.561 -T 1894 -z 1 -avoid_pwinds_mubar
python convergeT_parker.py -plname Kepler1997b -pdir z_1 -dir z_1 -Mdot 8.561 -T 1894 -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/Kepler1997b/z_1/parker_1894_8.561/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)