CONAN._classes.load_lightcurves.planet_parameters
=================================================

.. py:method:: CONAN._classes.load_lightcurves.planet_parameters(RpRs=0, Impact_para=0, rho_star=None, Duration=None, T_0=0, Period=0, Eccentricity=None, omega=None, sesinw=None, secosw=None, K=0, verbose=True)

   Define parameters and priors of model parameters. By default, the parameters are fixed to
   the given values. The parameters can be defined in following ways:


   - fixed value as float or int, e.g Period = 3.4

   - gaussian prior given as tuple of len 2, (mu, std) e.g. T_0 = (5678, 0.1)

   - uniform prior given as tuple of length 3, (min, start, max) e.g. RpRs = (0,0.1,0.2).


   if tuple of length 3 is specified for rho_star or Duration, the user can specify whether to use
   uniform or loguniform. loguniform maybe be preferred for rho_star and Duration priors when
   the prior range spans different orders of magnitude. (see https://iopscience.iop.org/article/10.3847/1538-3881/ac7f2f)

   Users can choose the between Eccentricity-omega or sesinw-secosw parameterization. Note that
   Eccentricity-omega is still converted to sesinw-secosw for efficient sampling.

   :param RpRs: Ratio of planet to stellar radius. Default is 0.
   :type RpRs: float, tuple;
   :param Impact_para: Impact parameter of the transit. Default is 0.
   :type Impact_para: float, tuple;
   :param rho_star: density of the star in g/cm^3. Default is None.
   :type rho_star: float, tuple;
   :param Duration: Duration of the transit in days. Default is None.
   :type Duration: float, tuple;
   :param T_0: Mid-transit time in days. Default is 0.
   :type T_0: float, tuple;
   :param Period: Orbital period of the planet in days. Default is 0.
   :type Period: float, tuple;
   :param Eccentricity: Eccentricity of the orbit. Default is None to use sesinw and secosw parameterization.
   :type Eccentricity: float, tuple;
   :param omega: Argument of periastron in degrees. Default is None to use sesinw and secosw parameterization.
   :type omega: float, tuple;
   :param sesinw: √esinw, √ecosw. alternate parameterization of eccentricty and omega.
                  Default is None which fixes both values to 0, which implies Eccentricity=0, omega=90
   :type sesinw: float, tuple,
   :param secosw: √esinw, √ecosw. alternate parameterization of eccentricty and omega.
                  Default is None which fixes both values to 0, which implies Eccentricity=0, omega=90
   :type secosw: float, tuple,
   :param K: Radial velocity semi-amplitude in same unit as the data. Default is 0.
   :type K: float, tuple;
   :param verbose: print output. Default is True.
   :type verbose: bool;

   .. attribute:: _planet_pars

      dictionary of planet parameters for each planet.

      :type: dict

