classmethod foxes.core.TData.from_tpoints(tpoints, tweights, data={}, dims={}, name='tdata', **kwargs)[source]

Create from points at targets

Parameters

tpoints: np.ndarray

The points at targets, shape: (n_states, n_targets, n_tpoints, 3)

tweights: np.ndarray, optional

The target point weights, shape: (n_tpoints,)

data: dict

The initial data to be stored

dims: dict

The dimensions tuples, same or subset of data keys

name: str

The data container name

kwargs: dict, optional

Additional parameters for the constructor

Returns

pdata: Data

The data object