bioniumx.physics.scale_height

bioniumx.physics.scale_height(T_eq: float, mu: float, gravity: float) float[source]

Calculate the atmospheric pressure scale height.

The scale height (H = kT / mg) is the vertical distance over which the atmospheric pressure falls by a factor of e.

Parameters:
  • T_eq (float) – Atmospheric temperature in Kelvin.

  • mu (float) – Mean molecular weight in g/mol.

  • gravity (float) – Planetary surface gravity in m/s^2.

Returns:

H – Scale height in meters.

Return type:

float

Examples

>>> H_earth = scale_height(T_eq=255, mu=28.97, gravity=9.81)