CONAN.utils.convert_rho

CONAN.utils.convert_rho#

CONAN.utils.convert_rho(rho, ecc=0, w=90, conv='true2obs')#

convert true stellar density to transit derived density or vice-versa

Parameters:
  • rho (float) – stellar density, true or observed

  • ecc (float) – eccentricity

  • w (float) – argumenent of periastron in degrees

  • conv (str, optional) – whether to convert from true2obs or obs2true, by default “true2obs”

Returns:

rho_star – stellar density

Return type:

float