- 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¶
- 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
- targets_i0()[source]
Get the target counter for first target in chunk
-
classmethod from_points(points, data=
None, dims=None, ...)[source] Create from points
-
classmethod from_tpoints(tpoints, tweights, data=
None, ...)[source] Create from points at targets
-
classmethod from_dataset(ds, *args, s_targets=
None, mdata=None, ...)[source] Create Data object from a dataset
- property n_states
The number of states
- property n_turbines
The number of turbines
- property chunki_states
The index of the states chunk
- property chunki_points
The index of the points chunk
- property n_chunks_states
The number of states chunks
- property n_chunks_points
The number of points chunks
- property name
The dictionary name
- __setitem__(key, value)[source]
Set self[key] to value.
- __getitem__(key)[source]
x.__getitem__(y) <==> x[y]
- update(*args, **kwargs)[source]
Update the dictionary with the key/value pairs from other, overwriting existing keys.