aim2dat.fct.hull
¶
Functions to determine the different types of hulls for function values.
Module Contents¶
Functions¶
|
Get convex hull from a list of n-dimensional points using scipy. |
|
Get minimum and maximum values for each x-value. |
-
aim2dat.fct.hull.get_convex_hull(points, lower_hull=
True
, upper_hull=True
, tolerance=0.001
)[source]¶ Get convex hull from a list of n-dimensional points using scipy.
So far this method only works for 2-dimensional data.
- Parameters:¶
points (list) – List of points with shape (npoints, ndim).
lower_hull (bool) – Whether to include the lower part of the hull (values below zero).
upper_hull (bool) – Whether to include the upper part of the hull (values above zero).
tolerance (float) – Tolerance parameter for lower and upper hull.