There does not seem to be any obvious way of directly getting the results you are after, regardless of what parameters you pass in. It shouldn't be too hard to compute yourself if, instead of ConvexHull, you use Delaunay (which also provides most of the convex hull related info).
With some made up data, the second method seems to be about 2x faster, and numerical accuracy seems very good (15 decimal places!!!) although there has to be some much more pathological cases:
pts = np.random.rand(1000,3)In[26]: convex_hull_volume(pts)Out[26]:0.93522518081853867In[27]: convex_hull_volume_bis(pts)Out[27]:0.93522518081853845In[28]:%timeit convex_hull_volume(pts)1000 loops, best of 3:2.08 ms per loop In[29]:%timeit convex_hull_volume_bis(pts)1000 loops, best of 3:1.08 ms per loop
回答2:
Although this question has celebrated its second birthday, I would like to point out that now, the scipy wrapper automatically reports the volume (and area) computed by Qhull.