- 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_tpoints(tpoints, tweights, data=
{}
, dims={}
, ...)[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
- __getitem__(key)[source]
Return self[key].