foxes.models.partial_wakes.PartialCentre.map_rotor_results(algo, mdata, fdata, tdata, variable, rotor_res, rotor_weights)[source]

Map ambient rotor point results onto target points.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.MData

The model data

fdata: foxes.core.FData

The farm data

tdata: foxes.core.TData

The target point data

variable: str

The variable name to map

rotor_res: numpy.ndarray

The results at rotor points, shape: (n_states, n_turbines, n_rotor_points)

rotor_weights: numpy.ndarray

The rotor point weights, shape: (n_rotor_points,)

Returns

res: numpy.ndarray

The mapped results at target points, shape: (n_states, n_targets, n_tpoints)