Scalar3D.cut
Last updated
Last updated
Cuts the scalar field.
n_cut
(int or tuple, optional): The number of samples to cut at the extrema. If mode is 'equal', n_cut is an integer specifying the number of samples to cut from each side. If mode is 'xyz', n_cut is a tuple specifying the number of samples to cut for each dimension. Default is 1.
mode
({'equal', 'xyz'}, optional): The mode of cutting. 'equal' cuts the same number of samples from each side, 'xyz' allows specifying the number of samples to cut for each dimension. Default is 'equal'.
array-like: The cut scalar field.