#·······································:
#                                       :
#    ▄▄▄▄▄   ▄█▄    ████▄ █ ▄▄  ▄███▄   :
#   █     ▀▄ █▀ ▀▄  █   █ █   █ █▀   ▀  :
# ▄  ▀▀▀▀▄   █   ▀  █   █ █▀▀▀  ██▄▄    :
#  ▀▄▄▄▄▀    █▄  ▄▀ ▀████ █     █▄   ▄▀ :
#            ▀███▀         █    ▀███▀   :
#                           ▀           :
#                                       :
#·······································:
Created:                2024-08-15
Author:                 Arjun Savel!
Planet name:            GJ 1214 b

# Simulation setup
modelname              GJ1214b          # name of the model. used for saving the output files.
seed                   42               # seed for the random number generator when generating noisy data. set to None for a random seed.

# Filepaths
planet_spectrum_path    /Users/arjunsavel/Desktop/research/gj1214_hires_sims/best_fit_spectrum_tran_gj1214_steam_nir.pic
star_spectrum_path     /Users/arjunsavel/Desktop/research/scope/src/scope/data/PHOENIX_5605_4.33.txt
data_cube_path         /Users/arjunsavel/Desktop/research/scope/src/scope/data/data_RAW_20201214_wl_algn_03.pic

# Astrophysical Parameters. Can specify DATABASE to pull based on name for parameters with [DB]
Rp                     DATABASE          # planetary radius in Jupiter radii. [DB]
Rstar                  DATABASE          # stellar radius, in solar radii. [DB]
kp                     NULL              # expected planetary orbital velocity assuming circular orbit, in km/s. input NULL if you'd like to calculate from orbital parameters.
v_sys                  DATABASE          # systemic velocity, in km/s.  [DB]
v_rot                  NULL              # equatorial rotational velocity. input NULL if you'd like to calculate from orbital parameters.
P_rot                  DATABASE          # orbital period of the planet, in days. [DB]
a                      DATABASE          # semi-major axis of the planet, in AU. [DB]
scale                  1.0               # scaling factor for the model spectrum.
LD                     True              # whether to include limb darkening in the simulation or not. only matters if observation is set to transmission.
u1                     0.1               # first quadratic limb darkening coefficient. not used if limb_darkening is set to False or if observation is set to emission.
u2                     0.1               # second quadratic limb darkening coefficient. not used if limb_darkening is set to False or if observation is set to emission.
include_rm             False             # whether to include Rossiter-McLaughlin effect in the simulation or not. only matters if observation is set to transmission.
v_rot_star             3                 # equatorial rotational velocity of the star in km/s. only matters if include_rm is set to True. and observation is set to transmission.
lambda_misalign        0                 # misalignment angle of the planet's orbit with respect to the star's rotation axis, in degrees. only matters if include_rm is set to True. and observation is set to transmission.
inc                    90.0              # inclination of the planet's orbit with respect to the line of sight, in degrees. only matters if include_rm is set to True. and observation is set to transmission.

# Instrument Parameters
blaze                  True          # whether to include a blaze function or not.
wav_error              False         # whether to include wavelength solution errors or not.
order_dep_throughput   True          # whether to include order-dependent throughput variations.


# Observation Parameters
observation            transmission      # type of observation to perform. supported observations are ``emission`` and ``transmission``.
phase_start            DATABASE           # phase of the beginning of the observations. 0 is center of transit, 0.5 is secondary eclipse. If DATABASE, just the transit duration. [DB]
phase_end              DATABASE           # phase of the end of the observations. 0 is center of transit, 0.5 is secondary eclipse. If DATABASE, just the transit duration. [DB]
n_exposures            10             # number of exposures to simulate. sets the phases of the exposures.
star                   True          # whether to include the star in the simulation. In general, you'd like to!
telluric               True          # whether to include tellurics in the simulation. In general, you'd like to!
SNR                    3000           # signal-to-noise ratio of the observations, per pixel. I.e., what sets the photon counts at the detector.
tell_type              data-driven   # type of telluric simulation. supported modes are ``ATRAN`` and ``data-driven``.
time_dep_tell          False         # whether the tellurics are time-dependent or not.

# Analysis Parameters
n_princ_comp           4             # number of principal components to remove from the simulated data before cross-correlation.
divide_out_of_transit  False         # whether to divide the in-transit data by median out-of-transit or not. only used if observation is set to transmission.
out_of_transit_dur     1.          # duration of the out-of-transit data, in units of transit duration. only used if observation is set to transmission and divide_out_of_transit is set to True.
