foxes.models.wake_models.wind.Bastankhah2016Model.has_data(mdata, downwind_index, x)[source]

Check if data exists

Parameters

mdata: foxes.core.Data

The model data

downwind_index: numpy.ndarray

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

x: numpy.ndarray

The x values, shape: (n_states, n_points)

Returns

check: bool

True if data exists