foxes.input.states.StatesTable.weights(algo)[source]

The statistical weights of all states.

Parameters

algo: foxes.core.Algorithm

The calculation algorithm

Returns

weights: numpy.ndarray

The weights, shape: (n_states, n_turbines)