particula.flow._sampling_warp
Direct Warp uniform-wind and sounding interpolation kernels.
Attributes
| Name | Description |
|---|---|
F | No description. |
Functions
| Name | Description |
|---|---|
_array | No description. |
_interp | No description. |
_profile | No description. |
_uniform | No description. |
profile_sample | Interpolate wind and thermodynamics using the explicit device. |
uniform_sample | Sample uniform forcing on the selected device. |
Fattributemodule attribute#
F = Any_arrayfunction#
def _array(values, device, dtype=F)_interpfunction#
def _interp(table: FloatMatrix, z: F, col: int)_profilefunction#
def _profile(table: FloatMatrix, query: FloatMatrix, out: FloatMatrix)_uniformfunction#
def _uniform(row: FloatVector, out: FloatMatrix)profile_samplefunction#
def profile_sample(s, z, eta, jac, gradient, device)Interpolate wind and thermodynamics using the explicit device.
uniform_samplefunction#
def uniform_sample(n, row, device)Sample uniform forcing on the selected device.