class foxes.core.MData(foxes.core.Data)[source]

Container for foxes model data.

Public members

MData(*args, name='mdata', **kwargs)[source]

Constructor

property n_states

The number of states

property n_turbines

The number of turbines

states_i0(counter=False, algo=None)[source]

Get the state counter for first state in chunk

add(name, data, dims)[source]

Add data entry

get_slice(s, dim_map={}, name=None, keep=True)[source]

Get a slice of data.

__getitem__(key)[source]

x.__getitem__(y) <==> x[y]