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
Whether the box should accommodate the geometric or the coordinate center. Defaults to False.
- Returns:
- tuple
Tuple of slices corresponding to the minimum enclosing box.