density
- typhon.physics.density(p, T, R=287.0570048852906)[source]
- Calculates gas density by ideal gas law. \[\rho = \frac{p}{R \cdot T}\]- Parameters:
- Returns:
- Density [kg/m**3]. 
- Return type:
- float or ndarray 
 - See also - typhon.constants
- Module containing universal gas constant as well as gas constants for dry air and water vapor. 
 - Examples - >>> density(1013e2, 300) 1.1763056653021122