Density.to_pointcloud#

Density.to_pointcloud(threshold=0)[source]#

Returns data indices that are larger than the given threshold.

Parameters:
thresholdfloat, optional

The cutoff value to determine the indices. Default is 0.

Returns:
NDArray

Data indices that are larger than the given threshold with shape (dimensions, indices).

Examples

>>> density.to_pointcloud(0)