src.physics#
Classes
|
Helper class to compute the idealised pseudo-momentum fluxes under one setting. |
- class src.physics.ideal_pmf(**kwarg)#
Helper class to compute the idealised pseudo-momentum fluxes under one setting.
- __init__(**kwarg)#
Sets up the default values
Parameters#
- **kwargsany
user-defined values to replace default background wind (
U
,V
), Earth’s radius (AE
), and Brunt-Väisälä frequency (N
)
- compute_uw_pmf(analysis, summed=True)#
Computation method
Parameters#
- analysis
src.var.analysis
instance of the analysis class.
- summedbool, optional
by default True, i.e., returns a sum of the spectrum. Other, return a 2D-like array of the spectrum.
Returns#
- array-like or float
depends on the value of
summed
- analysis