Skip to content

particula.flow._sampling_warp

Direct Warp uniform-wind and sounding interpolation kernels.

Attributes

NameDescription
FNo description.

Functions

NameDescription
_arrayNo description.
_interpNo description.
_profileNo description.
_uniformNo description.
profile_sampleInterpolate wind and thermodynamics using the explicit device.
uniform_sampleSample 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.