foxes.models.wake_frames.Streamlines2D.get_streamline_data(algo, mdata, fdata)[source]

Gets streamline data, generating it on the fly

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.MData

The model data

fdata: foxes.core.FData

The farm data

Returns

data: numpy.ndarray

The streamline data, shape: (n_states, n_turbines, n_steps, 4) with data x, y, z, wd