class foxes.output.StatesRosePlotOutput(foxes.output.RosePlotOutput)[source]

Class for rose plot creation directly from states

states: foxes.core.States

The states from which to compute the wind rose

point: numpy.ndarray

The evaluation point, shape: (3,)

mbook: foxes.models.ModelBook, optional

The model book

Public members

StatesRosePlotOutput(states, point, mbook=None, ws_var='AMB_REWS')[source]

Constructor.

classmethod get_data_info(dname)[source]

Returns default description for a variable.

get_data(sectors, var, var_bins, wd_var='AMB_WD', turbine=None, ...)[source]

Get pandas DataFrame with wind rose data.

get_figure(sectors, var, var_bins, wd_var='AMB_WD', ...)[source]

Creates figure object

write_figure(file_name, sectors, var, var_bins, ret_data=False, **)[source]

Write rose plot to file

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(model_type, *args, **kwargs)[source]

Run-time output model factory.