foxes.core.Algorithm.new_point_data(points, states_indices=None, n_states=None)[source]

Creates a point data xarray object, containing only points.

Parameters

points: numpy.ndarray

The points, shape: (n_states, n_points, 3)

states_indices: array_like, optional

The indices of the states dimension

n_states: int, optional

The number of states

Returns

xarray.Dataset

A dataset containing the points data