foxes.models.wake_superpositions.WindVectorLinear.wdeltas_uv2ws(algo, fdata, tdata, downwind_index, wdeltas, st_sel)[source]

Transform results from wind vector to wind speed data

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

fdata: foxes.core.FData

The farm data

tdata: foxes.core.TData

The target point data

downwind_index: int

The index of the wake causing turbine in the downwind order

wdeltas: dict

The wake deltas. Key: variable name str, value: numpy.ndarray, shape: (n_st_sel, n_tpoints)

st_sel: numpy.ndarray of bool

The state-target selection, for which the wake is non-zero, shape: (n_states, n_targets)

Returns

wdeltas: dict

The wake deltas. Key: variable name str, value: numpy.ndarray, now respecting has_uv flag