foxes.core.PointDataModelList.calculate(algo, mdata, fdata, pdata, parameters=None)[source]

” The main model calculation.

This function is executed on a single chunk of data, all computations should be based on numpy arrays.


algo: foxes.core.Algorithm

The calculation algorithm

mdata: foxes.core.Data

The model data

fdata: foxes.core.Data

The farm data

pdata: foxes.core.Data

The point data

parameters: list of dict, optional

A list of parameter dicts, one for each model


results: dict

The resulting data, keys: output variable str. Values: numpy.ndarray with shape (n_states, n_points)