class foxes.output.FlowPlots2D(foxes.output.SliceData)[source]

Class for horizontal or vertical 2D flow plots

Public members

get_mean_data_xy(var, vmin=None, vmax=None, ...)[source]

Generates 2D farm flow figure in a horizontal xy-plane.

get_mean_data_yz(var, x_direction=270, vmin=None, vmax=None, ...)[source]

Generates 2D farm flow figure in a horizontal yz-plane.

get_mean_data_xz(var, x_direction=270, vmin=None, vmax=None, ...)[source]

Generates 2D farm flow figure in a horizontal xz-plane.

get_mean_fig_xy(mean_data_xy, xlabel='x [m]', ylabel='y [m]', ...)[source]

Generates 2D farm flow figure in a horizontal xy-plane.

get_mean_fig_xz(mean_data_xz, xlabel='x [m]', zlabel='z [m]', ...)[source]

Generates 2D farm flow figure in a horizontal xz-plane.

get_mean_fig_yz(mean_data_yz, ylabel='x [m]', zlabel='z [m]', ...)[source]

Generates 2D farm flow figure in a horizontal yz-plane.

get_states_data_xy(var, vmin=None, vmax=None, ...)[source]

Generates 2D farm flow figure in a horizontal xy-plane.

get_states_data_xz(var, x_direction=270.0, vmin=None, ...)[source]

Generates 2D farm flow figure in a horizontal xz-plane.

get_states_data_yz(var, x_direction=270.0, vmin=None, ...)[source]

Generates 2D farm flow figure in a horizontal yz-plane.

gen_states_fig_xy(states_data_xy, xlabel='x [m]', ...)[source]

Generates 2D farm flow figure in a horizontal xy-plane.

gen_states_fig_xz(states_data_xz, xlabel='x [m]', ...)[source]

Generates 2D farm flow figure in a vertical xz-plane.

gen_states_fig_yz(states_data_yz, ylabel='y [m]', ...)[source]

Generates 2D farm flow figure in a vertical yz-plane.

precalc_chunk_xy(var, mdata, fdata, resolution=100, ...)[source]

Pre-calculation of data for xy flow plots.

FlowPlots2D(algo, farm_results, verbosity_delta=1, **kwargs)[source]

Constructor.

get_fpath(fname)[source]

Gets the total file path

write(file_name, data, format_col2var={}, format_dict={}, **kwargs)[source]

Writes data to file via pandas.

classmethod print_models()[source]

Prints all model names.

classmethod new(output_type, *args, **kwargs)[source]

Run-time output model factory.