- class foxes.core.Data(foxes.utils.Dict)[source]
Container for numpy array data and the associated meta data.
Attributes¶
- dims: dict
The dimensions tuples, same or subset of data keys
- loop_dims: array_like of str
List of the loop dimensions during xarray’s apply_ufunc calculations
- sizes: dict
The dimension sizes
Public members¶
- property n_states
The number of states
- property n_turbines
The number of turbines
-
classmethod from_dataset(ds, *args, callback=
None
, ...)[source] Create Data object from a dataset
- __getitem__(key)[source]
Return self[key].