-
foxes.output.FlowPlots2D.precalc_chunk_xy(var, mdata, fdata, resolution=
100, figsize=(8, 8), n_img_points=None, xmin=None, ymin=None, xmax=None, ymax=None, z=None, xspace=500.0, yspace=500.0)[source] Pre-calculation of data for xy flow plots.
Parameters¶
- var: str
The variable name
- mdata: foxes.core.TData
The model data
- fdata: foxes.core.TData
The farm data
- resolution: float, optional
The resolution in m
- figsize: tuple, optional
The figsize for plt.Figure
- n_img_points: int, optional
The number of image points along each axis
- xmin: float, optional
The minimal x position
- ymin: float, optional
The minimal y position
- xmax: float, optional
The maximal x position
- ymax: float, optional
The maximal y position
- z: float, optional
The z position
- xspace: float, optional
Additional space around turbines
- yspace: float, optional
Additional space around turbines
Returns¶
- data: numpy.ndarray
The calculated data
- sinds: np.ndarray
The state indices
- gdata: tuple
The grid data