CONAN.models.Planet_LC_Model
============================

.. toctree::
   :hidden:

   /autoapi/CONAN/models/Planet_LC_Model.get_value

.. py: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

   :param rho_star: Stellar density [g/cm^3]
   :type rho_star: float
   :param T0: Mid-transit time [days]
   :type T0: float
   :param RpRs: Planet-to-star radius ratio
   :type RpRs: float
   :param b: Impact parameter
   :type b: float
   :param per: Orbital period [days]
   :type per: float
   :param sesinw: sqrt(ecc)*sin(omega)
   :type sesinw: float
   :param secosw: sqrt(ecc)*cos(omega)
   :type secosw: float
   :param ddf: if ddf is not 0, then depth variation is being used and this value is added to the base rprs, grprs.
   :type ddf: float
   :param q1: LD coefficient 1
   :type q1: float
   :param q2: LD coefficient 2
   :type q2: float
   :param occ: Occultation depth
   :type occ: float
   :param Fp: nightside flux ratio
   :type Fp: float
   :param delta: hotspot shift of the atmospheric variation in degrees
   :type delta: float
   :param A_ev: semi-Amplitude of the ellipsoidal variation
   :type A_ev: float
   :param f1_ev: fractional constant of the EV model
   :type f1_ev: float;
   :param A_db: semi-Amplitude of the Doppler boosting
   :type A_db: float
   :param cst_pars: additional parameters for the custom light curve function. Default: {}
   :type cst_pars: dict
   :param npl: number of planets
   :type npl: int

   :returns: **marr** -- The lightcurve model for the given parameters
   :rtype: array-like

   .. rubric:: 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)


   .. py:attribute:: A_db
      :value: 0



   .. py:attribute:: A_ev
      :value: 0



   .. py:attribute:: Fn


   .. py:attribute:: RpRs


   .. py:attribute:: T0


   .. py:attribute:: b


   .. py:attribute:: cst_pars


   .. py:attribute:: ddf
      :value: 0



   .. py:attribute:: delta


   .. py:attribute:: dur
      :value: None



   .. py:attribute:: f1_ev
      :value: 0



   .. py:attribute:: npl
      :value: 1



   .. py:attribute:: occ
      :value: 0



   .. py:attribute:: parameter_names
      :value: ['rho_star', 'dur', 'T0', 'RpRs', 'b', 'per', 'sesinw', 'secosw', 'ddf', 'q1', 'q2', 'occ',...



   .. py:attribute:: per


   .. py:attribute:: q1
      :value: 0



   .. py:attribute:: q2
      :value: 0



   .. py:attribute:: rho_star
      :value: None



   .. py:attribute:: secosw


   .. py:attribute:: sesinw

Methods
-------

.. autoapisummary::

   CONAN.models.Planet_LC_Model.get_value


