CONAN.utils.tdur_to_rho
=======================

.. py:function:: CONAN.utils.tdur_to_rho(Tdur, b, Rp, P, e=0, w=90, tra_occ='tra')

   convert transit duration to stellar density in g/cm^3 https://doi.org/10.1093/mnras/stu318

   :param Tdur: The transit duration in days.
   :type Tdur: float, ufloat, array-like;
   :param b: The impact parameter.
   :type b: float, ufloat, array-like;
   :param Rp: planet-to-star radius ratio.
   :type Rp: float, ufloat, array-like;
   :param P: The period of the planet in days.
   :type P: float, ufloat, array-like;
   :param e: The eccentricity of the orbit.
   :type e: float, ufloat, array-like;
   :param w: The argument of periastron in degrees.
   :type w: float, ufloat, array-like;
   :param tra_occ: select duration of transit (tra) or occultation (occ)
   :type tra_occ: str;

   :returns: **rho** -- The stellar density in g/cm^3.
   :rtype: array-like;

