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

Container for foxes target data.

Each target consists of a fixed number of target points.

Public members

TData(*args, name='tdata', **kwargs)[source]

Constructor

property n_targets

The number of targets

property n_tpoints

The number of points per target

tpoint_mean(variable)[source]

Take the mean over target points

classmethod from_points(points, data={}, dims={}, name='tdata', **)[source]

Create from points

classmethod from_tpoints(tpoints, tweights, data={}, dims={}, ...)[source]

Create from points at targets

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]