Density.minimum_enclosing_box#

Density.minimum_enclosing_box(cutoff, use_geometric_center=False)[source]#

Compute the enclosing box that holds all possible rotations of the internal data array.

Parameters:
cutofffloat

Above this value arr elements are considered. Defaults to 0.

use_geometric_centerbool, optional

Accommodate the geometric instead of the mass center.

Returns:
tuple

Tuple of slices corresponding to the minimum enclosing box.