CONAN.models.Planet_LC_Model#
- class CONAN.models.Planet_LC_Model(rho_star=None, dur=None, T0=None, RpRs=None, b=None, per=None, sesinw=[0], secosw=[0], ddf=0, q1=0, q2=0, occ=0, Fn=None, delta=None, A_ev=0, A_db=0, f1_ev=0, cst_pars={}, npl=1)#
computes the transit model for a given set of parameters along with the baseline
- Parameters:
rho_star (float) – Stellar density [g/cm^3]
T0 (float) – Mid-transit time [days]
RpRs (float) – Planet-to-star radius ratio
b (float) – Impact parameter
per (float) – Orbital period [days]
sesinw (float) – sqrt(ecc)*sin(omega)
secosw (float) – sqrt(ecc)*cos(omega)
ddf (float) – if ddf is not 0, then depth variation is being used and this value is added to the base rprs, grprs.
q1 (float) – LD coefficient 1
q2 (float) – LD coefficient 2
occ (float) – Occultation depth
Fp (float) – nightside flux ratio
delta (float) – hotspot shift of the atmospheric variation in degrees
A_ev (float) – semi-Amplitude of the ellipsoidal variation
f1_ev (float;) – fractional constant of the EV model
A_db (float) – semi-Amplitude of the Doppler boosting
cst_pars (dict) – additional parameters for the custom light curve function. Default: {}
npl (int) – number of planets
- Returns:
marr – The lightcurve model for the given parameters
- Return type:
array-like
Examples
>>> from CONAN.models import Planet_LC_Model >>> TM = Planet_LC_Model(rho_star= 0.565, T0=0, RpRs=0.1, b=0.1, per=3, sesinw=0, sesinw=0, q1=0.2, q2=0.3) >>> flux,_ = TM.get_value(time)
- A_db = 0#
- A_ev = 0#
- Fn#
- RpRs#
- T0#
- b#
- cst_pars#
- ddf = 0#
- delta#
- dur = None#
- f1_ev = 0#
- npl = 1#
- occ = 0#
- parameter_names = ['rho_star', 'dur', 'T0', 'RpRs', 'b', 'per', 'sesinw', 'secosw', 'ddf', 'q1', 'q2', 'occ',...#
- per#
- q1 = 0#
- q2 = 0#
- rho_star = None#
- secosw#
- sesinw#
Methods#
|
computes the transit/occultation/phase curve model for a given set of parameters along with the baseline |