foxes.utils.delta_wd(wd_a, wd_b)[source]

Calculates wd_b - wd_a.

Parameters

wd_a: numpy.ndarray

Array of wind directions. Shape: any shape

wd_b: numpy.ndarray

Array of wind directions. Shape: same as wd_a

Returns

numpy.ndarray :

Array of wind direction deltas. Shape: same as wd_a, wd_b