Planet

Planet

class frei.Planet(a_rstar, m_bar, g, T_star, alpha)[source]

Bases: object

Container for planetary system information

Parameters
  • a_rstar (float) – Ratio of the semimajor axis of the orbit to the stellar radius

  • m_bar (Quantity) – Mean molecular weight

  • g (Quantity) – Surface gravity

  • T_star (Quantity) – Stellar effective temperature

  • alpha (float) – Number of scale heights in a mixing length

Methods Summary

from_hot_jupiter()

Initialize a hot-Jupiter system with standard parameters: \(M=M_J\), \(R=R_J\), \(\bar{m}=2.4\), \(g=g_J\), \(T_\mathrm{eff}=5800\) K.

Methods Documentation

classmethod from_hot_jupiter()[source]

Initialize a hot-Jupiter system with standard parameters: \(M=M_J\), \(R=R_J\), \(\bar{m}=2.4\), \(g=g_J\), \(T_\mathrm{eff}=5800\) K.