Phase_curve_v1 module

Phase_curve_v1.phase_angle(omega, nu, i)

Determines the phase angle of a planet from its orbital parameters (in rad).

Parameters:
  • omega (float) – the argument of pericentre (in rad)

  • nu (float) – the true anomaly (in rad)

  • i (float) – the inclination (in rad)

Returns:

alpha

Return type:

float

Phase_curve_v1.phase_function(alpha)

Determines the phase function of a Lambert sphere.

Parameters:

alpha (float) – the phase angle (in rad)

Returns:

g

Return type:

float

Phase_curve_v1.phase_planet(t, P, t0=0)

Determines the phase of a planet at a given time.

Parameters:
  • t (float) – the time (in days)

  • P (float) – the orbital period (in days)

  • t0 (float) – the reference time (in days)

Returns:

phase

Return type:

float

Phase_curve_v1.star_planet_separation(a, e, nu)

Determines the distance between a planet and its star using its orbital parameters.

Parameters:
  • a (float) – the semimajor axis (in m)

  • e (float) – the eccentricity

  • nu (float) – the true anomaly (in rad)

Returns:

r

Return type:

float

Phase_curve_v1.flux_star(L, d)

Determines the flux received from a star (in W/m^2) at a distance d.

Parameters:
  • L (float) – the star luminosity (in W)

  • d (float) – the distance (in m)

Returns:

F

Return type:

float

Phase_curve_v1.flux_planet(F_star)

Determines the flux reemitted by a planet (in W/m^2) from the one it receives from its star considering the planet is a black body.

Parameters:

F_star (float) – the flux received by the planet from its star (in W/m^2)

Returns:

F_planet

Return type:

float

Phase_curve_v1.surface_sphere(R)

Determines the surface of a sphere of radius R.

Parameters:

R (float) – the radius (in m)

Returns:

S

Return type:

float

Phase_curve_v1.luminosity_planet_dayside(F_planet, R_planet)

Determines the luminosity of the dayside of a planet from the flux it reemits and its radius.

Parameters:
  • F_planet (float) – the flux reemitted by the planet’s dayside (in W/m^2)

  • R_planet (float) – the planet radius (in m)

Returns:

L_planet

Return type:

float

Phase_curve_v1.phase_curve(L_star, L_planet, R_star, R_planet, phase_planet, eclipse)

Determines the phase curve of a planet from its luminosity, its star’s luminosity and its phase function expressed as the ratio between the planet and star’s luminosities in ppm.

Parameters:
  • L_star (float) – the star luminosity (in W)

  • L_planet (float) – the planet luminosity (in W)

  • R_star (float) – the star radius (in m)

  • R_planet (float) – the planet radius (in m)

  • phase_planet (float) – the phase function of the planet

  • eclipse (bool) – True if the planet is in eclipse, False otherwise

Returns:

curve

Return type:

float

Phase_curve_v1.main()