class foxes.output.PointCalculator(foxes.output.Output)[source]

Computes results at given points

Attributes

algo: foxes.Algorithm

The algorithm for point calculation

farm_results: xarray.Dataset

The farm results

Public members

PointCalculator(algo, farm_results, **kwargs)[source]

Constructor.

calculate(points, *args, states_mean=False, weight_turbine=0, ...)[source]

Calculate point results

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.