foxes.core.WakeFrame.get_centreline_points(algo, mdata, fdata, states_source_turbine, x)[source]

Gets the points along the centreline for given values of x.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.Data

The model data

fdata: foxes.core.Data

The farm data

states_source_turbine: numpy.ndarray

For each state, one turbine index for the wake causing turbine. Shape: (n_states,)

x: numpy.ndarray

The wake frame x coordinates, shape: (n_states, n_points)

Returns

points: numpy.ndarray

The centreline points, shape: (n_states, n_points, 3)