density

typhon.physics.units.density(p, T, R=None)[source]

Wrapper around typhon.physics.atmosphere.density().

Parameters:
  • p (Quantity) – Pressure.

  • T (Quantity) – Temperature. If magnitude of T and p is ndarray, sizes must match.

  • R (Quantity) – Gas constant.

Returns:

Density [kg/m**3].

Return type:

Quantity