brunt_vaisala_period¶
- 
metpy.calc.brunt_vaisala_period(heights, potential_temperature, axis=0)[source]¶ Calculate the Brunt-Vaisala period.
This function is a helper function for
brunt_vaisala_frequencythat calculates the period of oscilation as in Exercise 3.13 of [Hobbs2006]:\[\tau = \frac{2\pi}{N}\]Returns NaN when \(N^2 > 0\).
- Parameters
 heights (pint.Quantity) – One-dimensional profile of atmospheric height
potential_temperature (pint.Quantity`) – Atmospheric potential temperature
axis (int, optional) – The axis corresponding to vertical in the potential temperature array, defaults to 0.
- Returns
 pint.Quantity – Brunt-Vaisala period.